change rsync switches

This commit is contained in:
Louis Abel 2023-11-13 02:31:53 -07:00
parent 3567691639
commit b93edbf9b8
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -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)