Karan Sharma

Useful rsync Command Snippets for Linux

0 minutes (36 words)

Copying files locally#

rsync -avhW --no-compress --progress /src/ /dst/

Passing SSH Extra Options#

rsync -avzhP --stats -e 'ssh -o "Hostname <ip>"' <bastion_host>:/src/ /dst/

Tags: #Linux