Duncan Moore <[email protected]> writes:
> On 26/09/2010 21:07, Paul Eggert wrote:
>> On 09/26/2010 07:56 AM, Duncan Moore wrote:
>>> 2) --if-different
>>> File contents are assumed identical if the files have the same size
>>> and timestamp.
>> This makes sense, but the option name is poorly chosen. How about
>> --assume-same?
>
> I was unhappy with the name too. I think --assume-same is better, but it
> doesn't convey the fact that it is conditional (on the timestamp and size
> being the same). But I'm happy to go with it, unless someone thinks of
> something better.
How about --compare-attributes=size,mtime?
--compare-attributes=ATTRS
Compare file attributes ATTRS and assume two files are identical
if those attributes match, disregarding the actual file contents.
Andreas.
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."