parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rsync


From: Ole Tange
Subject: Re: rsync
Date: Thu, 12 May 2011 15:31:11 +0200

On Thu, May 12, 2011 at 12:37 AM, guerrier <guerrier@gmail.com> 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

[Prev in Thread] Current Thread [Next in Thread]