RSync Examples

From Michael's Information Zone
Revision as of 06:22, 6 August 2018 by Michael.mast (talk | contribs)
Jump to navigation Jump to search
rsync -avzP --exclude="Home/" --exclude=".*/" --delete ./ 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/