fixed rsync parameter
This commit is contained in:
parent
3539d7c384
commit
5b2cb24556
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func transferFile(bar *mpb.Bar, file string) bool {
|
||||||
if len(settings.Password) > 0 {
|
if len(settings.Password) > 0 {
|
||||||
arguments = append(arguments, "-p", settings.Password)
|
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 {
|
if len(settings.User) > 0 {
|
||||||
target = settings.User + "@" + target
|
target = settings.User + "@" + target
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue