equivalence of gzipped and non-gzipped files?
jw at pegasys.ws
Wed Feb 5 12:39:28 EST 2003
On Tue, Feb 04, 2003 at 05:38:06PM -0700, Dalton Harvie wrote:
> I'm trying to get a backup system going using rsync --- bit of a newbie.
> Just wondering if there is a way I can get rsync to recognise that a
> non-gzipped file in one directory tree is equivalent to the same gzipped file
> in the (say backup) tree, or vice versa. Could this be done with the
> include/exclude features? I note that gzip doesn't alter the timestamp on a
> file when it zips it and I'd be happy enough to use this only to verify when
> files were last altered.
No. rsync has no way to do that. Even if you could
overcome the fact that the files have differing names rsync
will not ignore the fact that they are different sizes.
There are several backup systems already that use rsync.
Take a look at those first.
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync