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*

6
  • @B Layer, I am not understanding find \( \( -name '*foo*' -o -name '*bar*' \) -a -prune \) -o \( -name baz -a -print \) Can you write the same thing in my expression, then i will understand. :-) Commented Dec 27, 2017 at 11:11
  • 1
    You're welcome. Just do yourself a favor and understand the answer rather than blindly copy the last part. Commented Dec 27, 2017 at 11:42
  • Yes, i understood with the notes you just provided, no need to write in my expression, you can delete it. Commented Dec 27, 2017 at 11:45
  • Great. I'll leave your example there since it illustrates the concepts (for others who read it.) Commented Dec 27, 2017 at 11:47
  • But my problem is not solved, my problem is that *rc* is not being read by bash. There are so many directories containing rc letter, i want to prune them all. Commented Dec 27, 2017 at 11:54