rsync remote directory
Overview
rsync is an excellent option to copy or synchronize a remote directory over ssh.
Use Cases
- Transferring large directories since
rsyncwill allow you to resume a transfer if it gets interrupted. - Keeping directories in sync (periodically)
Command
Example Usage
Important: Note the trailing / at the end of both directory paths.
Scripting
Save this as rsync-partial somewhere in your $PATH.
Example Usage
Read other posts