Copy with compression and progress
Transfers files compressed over the network, shows progress and keeps partial files so an interrupted copy can resume.
rsync -azhP source destinationEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/rsync.md), licensed under CC BY 4.0.