mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
21 lines
345 B
Go
21 lines
345 B
Go
// Sync files and directories to and from local and remote object stores
|
|
//
|
|
// Nick Craig-Wood <nick@craig-wood.com>
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/ncw/rclone/cmd"
|
|
_ "github.com/ncw/rclone/fs/all" // import all fs
|
|
)
|
|
|
|
func main() {
|
|
if err := cmd.Root.Execute(); err != nil {
|
|
fmt.Println(err)
|
|
os.Exit(-1)
|
|
}
|
|
os.Exit(0)
|
|
}
|