Le mercredi 23 avril 2008, Manuel Garc?a a ?crit?:> 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?
I do think the message is about mkdir() syscall, not the command mkdir. It is
impossible to ask to mkdir() to create the whole path, including missing
parents.
Implementing such feature is surelly possible.
Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url :
http://lists.samba.org/archive/rsync/attachments/20080423/87504307/attachment.bin