fixed rsync parameter

This commit is contained in:
Daniel Sommer 2023-09-07 15:40:27 +02:00
parent 3539d7c384
commit 5b2cb24556

View file

@ -76,7 +76,7 @@ func transferFile(bar *mpb.Bar, file string) bool {
if len(settings.Password) > 0 {
arguments = append(arguments, "-p", settings.Password)
}
arguments = append(arguments, "rsync", "-avz", "-mkpath", file)
arguments = append(arguments, "rsync", "-avz", "--mkpath", file)
if len(settings.User) > 0 {
target = settings.User + "@" + target
}