need to modify file data before storing it on destination
kyle_jones at wonderworks.com
Tue Apr 1 07:16:50 EST 2003
jw schultz writes:
> On Mon, Mar 31, 2003 at 12:37:27PM -0800, Kyle Jones wrote:
> > I'd like to be able to store remote files compressed or encrypted
> > or both. I think this could be supported in a general way by
> > having:
> > 1. an rsync option --remotefilter=command that specifies a
> > remote command that rsync pushes file data through before
> > storing it on disk. This option would imply --whole-file.
> > 2. an rsync option --times-only so that rsync would consider
> > only the modification time of the remote file when deciding
> > whether to update it. This is needed so that rsync would
> > ignore the file size differences of compressed remote files.
> Well, with that you have just disabled the primary
> characteristic of rsync. I'm not saying that a utility that
> identifies files that have changed for a compressed remote
> storage, just that this isn't rsync.
But isn't that also the case if --whole-file is used, an option that
rsync already has? The chief advantage of rsync over rdist is
the checksum comparison code, which --whole-file disables.
More information about the rsync