We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

mandric on 12/30/07


Tagged

Shell backup rsync


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

basicmagic
cbrant
snucko
alexxx
Leech


sync a file or dir to remote location


Published in: Bash 


The -P handles partial transfers, I'm using this for big audio/video files.

  1. rsync -P -az -e ssh sourcedir username@andric.us:~/targetdir/

Report this snippet 

You need to login to post a comment.