On Thu, 12 May 2011, Ole Tange wrote:
On Thu, May 12, 2011 at 12:37 AM, guerrier wrote:
Hello
Can one use parallel to speed up rsync -avz dir1 dir2 ?
How would one phrase that?
[...]
I am not sure it will be happy with dirs called:
My brother's 12" records
Just thinking aloud on this one: --protect-args?
If rsync had an option to create the missing dirs then that would
probably work.
Using the '--relative' option and a '/./' in the source directory could
help.
E.g. of its use:
$ rsync -av --relative /src/./a/b/c/d /dest
(Will create all portions of /dest/a/b/c/d that don't already exist.)
--
Best,
Ben