2013-06-28 03:00:01 +08:00
|
|
|
// Sync files and directories to and from local and remote object stores
|
2013-06-28 02:51:03 +08:00
|
|
|
//
|
2012-11-19 01:32:31 +08:00
|
|
|
// Nick Craig-Wood <nick@craig-wood.com>
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2016-09-12 22:42:57 +08:00
|
|
|
"log"
|
2014-03-28 00:55:29 +08:00
|
|
|
|
2016-08-05 05:18:56 +08:00
|
|
|
"github.com/ncw/rclone/cmd"
|
2018-01-12 00:05:41 +08:00
|
|
|
|
|
|
|
_ "github.com/ncw/rclone/backend/all" // import all backends
|
|
|
|
_ "github.com/ncw/rclone/cmd/all" // import all commands
|
2012-11-19 01:32:31 +08:00
|
|
|
)
|
|
|
|
|
2016-08-03 06:56:20 +08:00
|
|
|
func main() {
|
2016-08-05 05:18:56 +08:00
|
|
|
if err := cmd.Root.Execute(); err != nil {
|
2016-09-12 22:42:57 +08:00
|
|
|
log.Fatalf("Fatal error: %v", err)
|
2016-01-09 23:25:48 +08:00
|
|
|
}
|
2012-11-19 01:32:31 +08:00
|
|
|
}
|