rsync - can it create directories

Jason Potter jasonp at iinet.net.au
Thu Oct 21 05:57:39 GMT 2004


Hi All,

I have the following rsync command:
/usr/bin/rsync -av /data/html/interactives/delta_interactive.swf
/mnt/cf/data/html/interactives/delta_interactive.swf

The directory /mnt/cf/ exists but data/html/interactives does not exist.  I
want this directory to be created when the file is attempted to be rsynced.

Can this be done.

Cheers
Jason 



More information about the rsync mailing list