11
votes
How to rsync a large file by comparing earlier versions on the sending end?
You can ask rsync to use a previous directory as a starting point for a copy
rsync --times --compare-dest /store/2025-09-02/ remote:/store/2025-09-03/BigFile.xyz /store/2025-09-03/
This uses your ...
6
votes
Accepted
Rsync from a file containing a list of absolute file paths
You can use the --files-from to read the file, and then tell rsync to discard the paths that would usually be applied in this situation to the destination:
rsync -ahv --progress --files-from="$...
6
votes
How to rsync a large file by comparing earlier versions on the sending end?
In general, Chris Davies' answer is the most portable, easiest to implement, so I'd say: go for that!
One exception: if the file is really large, the phase where remote and local side exchange partial ...
4
votes
rsync with --include-from breaks hardlinks (evec with -H)
OK, the problem was simple. --includes-from= is waiting for regexp from files to import. My file didn't have regexp but file names, sometimes with spaces or other special character, making them ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rsync × 2153backup × 312
ssh × 223
linux × 222
bash × 124
file-copy × 113
shell-script × 94
synchronization × 93
permissions × 91
scp × 84
files × 83
ubuntu × 79
cp × 73
debian × 59
shell × 55
find × 55
symlink × 48
filesystems × 43
macos × 42
cron × 40
centos × 37
command-line × 37
file-transfer × 33
remote × 30
nfs × 29