package main import ( "fmt" "os" ) func main() { if len(os.Args) != 3 { fmt.Println("usage: dna-backup ") os.Exit(1) } source := os.Args[1] dest := os.Args[2] os.MkdirAll(dest, 0775) Commit(source, dest) }