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