rclone/rclone.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)
}