Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Possible duplicate of find: prune does not ignore specified path Commented Jul 7, 2017 at 20:41
  • I think if anything it's a duplicate of find-path explained even if the answer at find:prune does not ignore specified path has an answer that seems to apply to this question. Maybe the find-path explained answers make sense to someone more experienced with scripting, but they don't help me. The answers present here make more sense to me so far, even though I'm just starting to look into them. Commented Jul 7, 2017 at 21:36
  • 1
    there is much to read & learn about find ... -prune: stackoverflow.com/questions/1489277/… Commented Mar 10, 2021 at 7:02
  • Linking to the questions @flerb references so I don’t have to look them up next time I’m here: `find -path` explained; find: prune does not ignore specified path. Commented Jan 31, 2023 at 16:37