Use -zz for rsync

This commit is contained in:
Kovid Goyal 2020-03-06 08:27:46 +05:30
parent 5bf84f7688
commit 1809676dba
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ class SourceForge(Base): # {{{
for i in range(5):
try:
check_call([
'rsync', '-h', '-z', '--progress', '-e', 'ssh -x', x,
'rsync', '-h', '-zz', '--progress', '-e', 'ssh -x', x,
'%s,%s@frs.sourceforge.net:%s' %
(self.username, self.project, self.rdir + '/')
])

View File

@ -123,7 +123,7 @@ def get_fosshub_data():
def send_data(loc):
subprocess.check_call([
'rsync', '--inplace', '--delete', '-r', '-z', '-h', '--progress', '-e',
'rsync', '--inplace', '--delete', '-r', '-zz', '-h', '--progress', '-e',
'ssh -x', loc + '/', '%s@%s:%s' % (STAGING_USER, STAGING_HOST, STAGING_DIR)
])