feature request: create remote directory - Tools

This is a discussion on feature request: create remote directory - Tools ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: feature request: create remote directory

  1. feature request: create remote directory

    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


  2. Re: feature request: create remote directory

    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

    --
    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 to Thread