Using mkdir from rsync

Manuel García mannyto at gmail.com
Wed Apr 23 18:01:59 GMT 2008


Hi all,

When using rsync to copy a full directory path to another machine in
my network, like dir1/dir2/dir3/,  mkdir fails because it have to
create dir1 and dir2 prior to dir3, non of the 3 directories exist in
the remote machine, so mkdir needs the -p option to do that, my
question is: is there any way i can tell mkdir use the -p option when
invoking from rsync?

-- 
Manuel Garcia
Administrador de redes y servidores
Corporacion Lynqus
Debian GNU/Linux 4.1
codename "Lenny"


More information about the rsync mailing list