On Thu, Oct 26, 2006 at 03:19:33PM -0400, Aldrich, Michael
wrote:> Can some tell me if there is a way to change the uid of files
> transferred?
The only way at present is to login as that user on the destination
system:
rsync -av /src/ applpatch@host:/dest/
sudo -u applpatch rsync -av appltest@host:/src/ /dest/
rsync -av --rsync-path='sudo -u appltest rsync' /src/ host:/dest/
Things like that.
It the future, it might be nice to have some way to add custom mappings.
The code already creates a name-to-number mapping for the receiver. It
should be easy to pre-load the mapper based on a simple input file.
..wayne..