Compare ignoring the size AND file suffix: (not/) compressed files in a directory tree

Francois Collard Francois.Collard at reuters.com
Tue Jun 13 18:08:50 GMT 2006


Thank you Matt, for your prompt answer and expert advice !

I'll test it asap.
Regards
Francois 

-----Original Message-----
From: Matt McCutchen [mailto:hashproduct at gmail.com] On Behalf Of Matt
McCutchen
Sent: 13 June 2006 17:17
To: Francois Collard
Cc: rsync at lists.samba.org
Subject: Re: Compare ignoring the size AND file suffix: (not/)
compressed files in a directory tree

On Tue, 2006-06-13 at 12:49 +0200, Francois Collard wrote:
> So, trying to automatically r'synchronize trees that can contain gzip
> files on one side
> I should find a way to a filter on .gz extenssion in name
>  and use only date comparison (size nor content comparison). As .gz
> files keep original dates.

Rsync's experimental filter patch adds options to send file data through
a filter program on the source or destination.  You might be able to use
it.  It also offers the -T, --time-only quick check behavior you want.

Matt



To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.



More information about the rsync mailing list