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.

Tim

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

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to