RSync Examples
Revision as of 17:13, 9 January 2019 by Michael.mast (talk | contribs)
rsync -avzP --exclude="Home/" --exclude=".*/" --delete ./ Home/sync/ rsync -avzP --exclude="Home/" --exclude=".*/" --ignore-existing ./ Home/sync/
- [1]For replicating from a remote server, using a non-standard SSH port.
rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/