GNU bug report logs - #15452
Comparing files whose name _do_ match a certain pattern

Previous Next

Package: diffutils;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 24 Sep 2013 08:00:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 15452 <at> debbugs.gnu.org
Subject: bug#15452: Comparing files whose name _do_ match a certain pattern
Date: Tue, 24 Sep 2013 09:59:24 +0200
[Please, keep my address in CC, as I'm not subscribed to this list]

Hello,

I'm badly missing an "--include" option in "diff", which would have
the inverse effect of "--exclude", i.e., to consider only files whose
names _do_ match a certain pattern.

I've been searching the internet and also this mailing list, seeking a
way of doing this, but I've failed so far, and I'm quite surprised
that such a feature isn't implemented already.

What I want is a simple way of comparing two directories which have a
bunch of different file types, and I'm only interested on comparing a
subset of them.  Yes, I have the option of excluding every other
possible filetype, but that would be far more complex to do.

Are there a simple way of doing what I want?  If not, could you
implement that "--include" option?

Thanks in advance.

-- 
Dani Moncayo




This bug report was last modified 11 years and 79 days ago.

Previous Next


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