change rsync switches
This commit is contained in:
parent
3567691639
commit
b93edbf9b8
@ -565,7 +565,7 @@ class Shared:
|
|||||||
find_cmd = '/usr/bin/find'
|
find_cmd = '/usr/bin/find'
|
||||||
parallel_cmd = '/usr/bin/parallel'
|
parallel_cmd = '/usr/bin/parallel'
|
||||||
cmd = '/usr/bin/rsync'
|
cmd = '/usr/bin/rsync'
|
||||||
switches = '-vrlptDSH --chown=10004:10005 --progress --relative --human-readable'
|
switches = '-vrlptDSH --chown=10004:10005 --progress --human-readable'
|
||||||
rsync_cmd = '{} {} {}/ {}'.format(cmd, switches, src, dest)
|
rsync_cmd = '{} {} {}/ {}'.format(cmd, switches, src, dest)
|
||||||
|
|
||||||
#os.makedirs(dest, exist_ok=True)
|
#os.makedirs(dest, exist_ok=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user