Rsync

Regular Sync

rsync -av --progress -e ssh remoteuser@remotehost:/remote/dir /this/dir/

Sync only file newer in source:

rsync -avu --progress -e ssh remoteuser@remotehost:/remote/dir /this/dir/

Sync from a file list:

rsync -av --files-from=/some/path/filelist.txt --progress -e ssh remoteuser@remotehost:/remote/dir /this/dir/
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License