Update of bug #56106 (project findutils): Category: None => find Status: None => Works For Me Assigned to: None => berny
_______________________________________________________ Follow-up Comment #1: Wow, what a stackoverflow thread! I didn't read through it much as the proposed commands seem to address some other aspects as well. Your examples often use -path (alias -wholename) while I think you wanted -name. > The expected behavior would be to exclude everything matching a > given prefix or directory, including the directory itself, from > the set of files or directories that would normally be returned > without the added predicate. What about the following (which is documented both in the man page and the texinfo documentation)? $ find . -name .git -prune -o -print As some users already seem to be overwhelmed with the complexity and possibilities of find(1) predicates, adding yet another probably conflicting way would be even more confusing. Finally, the above works quite nice, so I don't see a need. Therefore, I'm marking this as "works for me". Have a nice day, Berny _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56106> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/