Hardlinked incremental snapshots rsync
Time-Machine-style backup: unchanged files hardlink to prev, only deltas use new space
rsync -a --delete --link-dest=../prev /src/ ./$(date +%F)/
more rsync
all 7 commands →
Resume large file transfer
rsync -a --partial --append-verify --info=progress2 big.img user@<host>:/dst/
Non-standard SSH port + excludes
rsync -a -e "ssh -p 2222" --exclude-from=excludes.txt /src/ user@<host>:/dst/
Checksum-based sync
rsync -ac --delete-after /src/ /dst/
Full-fidelity migration copy
rsync -aHAXv --numeric-ids /src/ user@<host>:/dst/
Itemized dry-run diff
rsync -ai --dry-run --delete /src/ /dst/