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.
signature.asc
Description: This is a digitally signed message part.
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
