rsync

rsync#

Incremental file sync.

$ rsync -aP src/ dst/
$ rsync -aP --delete src/ dst/
$ rsync -aP src/ user@host:/path/
$ rsync -aP -e 'ssh -p 2222' src/ host:/path/