RSync Examples
Jump to navigation
Jump to search
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/