forked from sig_core/toolkit
change rsync switches
This commit is contained in:
parent
9f87266007
commit
3567691639
@ -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 = '-av --chown=10004:10005 --progress --relative --human-readable'
|
switches = '-vrlptDSH --chown=10004:10005 --progress --relative --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