feature request: create remote directory

Tim Newsome nuisance at casualhacker.net
Sun Sep 28 17:55:27 GMT 2008

I have a program that copies pictures to a web server using rsync.
Typically it will do something like copy IMG_1234.JPG to
server:/www/docroot/YEAR/MONTH/DAY, where the appropriate numbers are
inserted for YEAR/MONTH/DAY. Currently the only way to do this with
rsync is to locally create YEAR/MONTH/DAY and then tell rsync to copy
it. I would like a syntax which would tell rsync to create a specific
remote directory. Something like:
--remote-dir DIR
Before transferring any files, create DIR if it does not yet exist, and
then put all the files requested to be transferred in that directory.


Follow me around the world at http://www.casualhacker.net/blog/

More information about the rsync mailing list