On Sun, 2008-09-28 at 19:55 +0200, Tim Newsome wrote:> 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.
There is already an enhancement request for this:
https://bugzilla.samba.org/show_bug.cgi?id=4621
Matt