remove backup option from default cp/mv for posix

This commit is contained in:
Gokcehan committed 2017-09-16 22:11:43 +03:00
1 parent 263c9d9fef
commit 7c15ed69c8
5 files changed
+13 -15

No files matched your search

+1 -2
View File
@@ -68,11 +68,10 @@ func putCommand(list []string, dir *dir, copy bool) *exec.Cmd {
if copy {
sh = "cp"
args = append(args, "-r")
args = append(args, "-R")
} else {
sh = "mv"
}
args = append(args, "--backup=numbered")
args = append(args, list...)
args = append(args, dir.path)