GNU bug report logs -
#27456
25.2; Not possible to use -prune with find-dired
Previous Next
Reported by: Allen Li <darkfeline <at> felesatra.moe>
Date: Fri, 23 Jun 2017 06:02:01 UTC
Severity: minor
Found in version 25.2
Done: Michael Heerdegen <michael_heerdegen <at> web.de>
Bug is archived. No further changes may be made.
Full log
Message #28 received at 27456 <at> debbugs.gnu.org (full text, mbox):
The two workarounds indicated here do work nicely.
For reference, to list everything except a certain directory
(.git, in this example), you could use either of the following
option sets at the "Run find (with args):" prompt:
-type d -name .git -prune , -true
-type d -name .git -prune -false -o -true
Despite that, I think it would be useful and consistent for
`find-dired' to acquire the prefix argument behaviour of `rgrep':
> With C-u prefix, you can edit the constructed shell command line
> before it is executed.
> With two C-u prefixes, directly edit and run `grep-find-command'.
This would give some users a more familiar solution to the problem
if they are not used to the particular find options needed to work
around the problem (which was the situation I found myself in just
the other day, so the new activity on this bug was very timely :)
-Phil
This bug report was last modified 6 years and 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.