Merge pull request #2228 from jpwhiting/work/whiting/sparsersync

Use rsync option -S
This commit is contained in:
Adriaan de Groot 2023-11-04 22:41:17 +01:00 committed by GitHub
commit 848137390e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ def file_copy(source, entry, progress_cb):
num_files_total_local = 0 num_files_total_local = 0
num_files_copied = 0 # Gets updated through rsync output num_files_copied = 0 # Gets updated through rsync output
args = ['rsync', '-aHAXr', '--filter=-x trusted.overlay.*'] args = ['rsync', '-aHAXSr', '--filter=-x trusted.overlay.*']
args.extend(global_excludes()) args.extend(global_excludes())
if entry.excludeFile: if entry.excludeFile:
args.extend(["--exclude-from=" + entry.excludeFile]) args.extend(["--exclude-from=" + entry.excludeFile])