On Thu, May 12, 2011 at 12:37 AM, guerrier <[email protected]> wrote:
> Hello
> Can one use parallel to speed up rsync -avz dir1 dir2 ?  How would one
> phrase that?

Something like:

find dir1 -type d | parallel -Xq  ssh myhost mkdir -p dir2/'"{}"'
find dir1 -type f | parallel rsync -az {} myhost:dir2/{}

I am not sure it will be happy with dirs called:

  My brother's 12" records

If rsync had an option to create the missing dirs then that would probably work.

/Ole

Reply via email to