2013-06-27 19:00:01 +00:00
|
|
|
// Sync files and directories to and from local and remote object stores
|
2013-06-27 18:51:03 +00:00
|
|
|
//
|
2012-11-18 17:32:31 +00:00
|
|
|
// Nick Craig-Wood <nick@craig-wood.com>
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"os"
|
2014-03-27 16:55:29 +00:00
|
|
|
|
2016-08-04 21:18:56 +00:00
|
|
|
"github.com/ncw/rclone/cmd"
|
2016-01-03 14:12:01 +00:00
|
|
|
_ "github.com/ncw/rclone/fs/all" // import all fs
|
2012-11-18 17:32:31 +00:00
|
|
|
)
|
|
|
|
|
2016-08-02 22:56:20 +00:00
|
|
|
func main() {
|
2016-08-04 21:18:56 +00:00
|
|
|
if err := cmd.Root.Execute(); err != nil {
|
2016-08-02 22:56:20 +00:00
|
|
|
fmt.Println(err)
|
|
|
|
os.Exit(-1)
|
2016-01-09 15:25:48 +00:00
|
|
|
}
|
2016-08-02 22:56:20 +00:00
|
|
|
os.Exit(0)
|
2012-11-18 17:32:31 +00:00
|
|
|
}
|