Skip to content

Commit 64391a1

Browse files
authored
fix: Remove size-only option for ftp-sync (#170)
1 parent 341617b commit 64391a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ftpSummaryStatsScript/ftp_sync.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,9 @@ def rsync_dir(source, dest):
303303
# -p - preserve permissions
304304
# -v - verbose
305305
# -h - human readable output
306-
# --size-only - only file size is compared, timestamp is ignored
307306
# --exclude=".*" - excluding hidden files
308307
logger.info("Sync {} --> {}".format(source, dest))
309-
subprocess.call(['rsync', '-rpvh', '--chmod=Du=rwx,Dg=rwx,Do=rx,Fu=rw,Fg=rw,Fo=r', '--size-only', '--exclude=.*', source, dest])
308+
subprocess.call(['rsync', '-rpvh', '--chmod=Du=rwx,Dg=rwx,Do=rx,Fu=rw,Fg=rw,Fo=r', '--exclude=.*', source, dest])
310309
except OSError as e:
311310
logger.error(e)
312311

0 commit comments

Comments
 (0)