On Sat, Sep 13, 2008 at 07:10:53AM +1000, Quey wrote:
> maybe something like a --chown user.group

There is a diff in the patches directory that allows you to do this.
If you apply patches/usermap.diff, you can use a command like this:

rsync -av --usermap=*:someuser --groupmap=*:somegroup /src/ /dest/

That's not nearly as succinct (due to these options having a lot more
flexibility in affecting the users and groups than a single forced
setting), so perhaps a built-in option alias would be a good idea for
the simple case (one that would map --chown=someuser:somegroup to be
the same as the above two options).

This is one of the patches that I'm leaning towards adding to 3.1.0.

..wayne..
-- 
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