create directory

Luis Fernando rsync at
Fri Jul 16 18:02:47 GMT 2004


I'm trying to rsync some individual files, but it's not working:

rsync -lptgoD /etc/named.conf /disk2/etc/

It works well if /disk2/etc/ dir exists, but if only /disk2/
dir exists, it won't create the etc/ dir and put the file inside it.
Just gives an error:
mkstemp /mnt/disk2/etc/..wl2ljs failed: No such file or directory
rsync error: some files could not be transferred (code 23) at main.c(620)

Any ideas to make it work?

Luis Fernando

More information about the rsync mailing list