GNU bug report logs - #69723
Proposed enhancement

Previous Next

Package: diffutils;

Reported by: John Summerfield <johclisum <at> gmail.com>

Date: Mon, 11 Mar 2024 05:51:02 UTC

Severity: normal

To reply to this bug, email your comments to 69723 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#69723; Package diffutils. (Mon, 11 Mar 2024 05:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Summerfield <johclisum <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Mon, 11 Mar 2024 05:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Summerfield <johclisum <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: Proposed enhancement
Date: Mon, 11 Mar 2024 12:37:22 +0800
[Message part 1 (text/plain, inline)]
I have been using diff to compare directories on two SSDs on my laptop,
tying up two USB ports and immobilising the computer  for about two days.

I've reviewed its options, and don't see a better way of using it.

The man page is a bit short on detail about what it considers
same/different, bu I see that I can choose weather filename case matters,
whether changes in white space matter, whether fit matters when something
has been changed from lower to upper case, etc.

I propose another option, a GNU extension if you like.
--ignore-contents
If filenames are the same, subject to other choices, if the file sizes are
the same, if the *times match, then consider them the same. Essentially,
we're only comparing the file descriptions, not their contents.

I'm ambivalent about dates, perhaps those can be user-choice too, I can
think of a few reasons they might differ. Copy to/from DOS-family
filesystems and NTFS or ext4 etc. Transfer between computers in different
time zones or the transfer program doesn't preserve timestamps.

With this change, instead of running almost two days and finding no
consequential differences, it could have been all over in a couple of
minutes.

Thank you for your time and consideration.

John Summerfield
-- 

Cheers
John
[Message part 2 (text/html, inline)]

This bug report was last modified 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.