GNU bug report logs - #78772
Feature request: glob-matching patterns

Previous Next

Package: grep;

Reported by: Philip Prindeville <philipp <at> redfish-solutions.com>

Date: Thu, 12 Jun 2025 03:31:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Philip Prindeville <philipp <at> redfish-solutions.com>
To: 78772 <at> debbugs.gnu.org
Subject: bug#78772: Feature request: glob-matching patterns
Date: Wed, 11 Jun 2025 21:29:35 -0600
It might be useful to have an argument like --glob-regexp to have a file containing globbing patterns to match (or exclude) against a stream of filenames.

Example:

find . -print -depth | grep -v --glob-regexp -f do-not-backup-list | cpio -ov > filtered-backup.cpio

Where files matching glob patterns in "do-not-backup-list" would be excluded.

Thanks





This bug report was last modified 6 days ago.

Previous Next


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