non-existing parent directories
Darin.Perusich at cognigencorp.com
Thu Oct 19 15:11:21 GMT 2006
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
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)
Unix Systems Administrator
395 Youngs Rd.
Williamsville, NY 14221
darinper at cognigencorp.com
More information about the rsync