Time to pull my head out of my ass about rsync. Some light reading that’s helping me on my journey.
Some common and basic usage patterns: [Using rsync to Transfer and Synchronize Local and Remote Systems | Liquid Web Knowledge Base](http://www.liquidweb.com/kb/using-rsync-to-transfer-and-synchronize-local-and-remote-systems/) |
[How To Use Rsync to Sync Local and Remote Directories on a VPS | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps) |
The cryptic, but quite useful man page, covering the essentials: rsync dif —
Some details about using the --include
, --include-from
, --exclude
, and --exclude-from
options: bash - rsync: –include-from vs. –exclude-from what is the actual difference? - Stack Overflow
Also in this SO page, how to rsync files obtained from STDIN, e.g. via a pipe: http://stackoverflow.com/a/35340621/1298086. e.g.:
find . -name '*2016-02-01*' \
| rsync --dry-run -arv --files-from=- /storage/data /tmp/rsync_test
Haven’t looked at these yet:
-
[Some of the more common rsync args that you probably want to include in your rsync script EVBackup](http://www.evbackup.com/support-commonly-used-rsync-arguments/) - Rsync (Remote Sync): 10 Practical Examples Of Rsync Command In Linux
-
[My experience with using cp to copy 432 million files (39 TB) Hacker News](https://news.ycombinator.com/item?id=8305283) - networking - Should I use rsync compression over a gigabit LAN? - Server Fault
- linux - How to copy a large number of files quickly between two servers - Server Fault
-
[rsync Man Page Bash SS64.com](http://ss64.com/bash/rsync.html) (this is not the man page)