hello,

is there a way for rsync to create non-existing parent directories when
syncing files to a destination? something similar to 'mkdir -p
non-existing/directory'. i'm doing 'rsync -r /path/to/source
/path/to/non-existing/directory', and the 'non-existing/directory'
location doesn't exist.

the errors i get is...
rsync: mkdir "/path/to/non-existing/directory'," failed: No such file or
directory (2)
rsync error: error in file IO (code 11) at main.c(381)
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)

thanks

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
[EMAIL PROTECTED]
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to