computer_science:linux:rsync_cheatsheet

rsync Cheatsheet

Part of Linux

CommandDescriptionCommand ExampleOptions Expanded
rsync -rvP * user@remote-host:/mnt/dirSync directory with remote host directory
rsync -rvP --inplace * user@remote-host:/mnt/dir
-r - Recursive -v - Verbose -P - Progress Bar
rsync –progress -avz -e “ssh -i /home/user/privateKey” remoteUser@remoteTarget:/home/remoteUser /mnt/local/destinationUses a private Key to authenticate with a remote server (SSH Keyless)
rsync --progress -avz -e "ssh -i /home/user/privateKey" remoteUser@remoteTarget:/home/remoteUser /mnt/local/destination


  • computer_science/linux/rsync_cheatsheet.txt
  • Last modified: 2023/12/01 12:07
  • by 127.0.0.1