【 以下文字转载自 Programming 讨论区 】
【 原文由 coconut 所发表 】
You should read the examples in the man page :)
find . \! \( -name string \)
m*****e 发帖数: 4193
2
Make sure you did answer the real question before you mark it..but thanks anyway.
Your answer is at best a workaround, not a solution.
And now I doubt there is a simple solution.
c*****t 发帖数: 1879
3
【 以下文字转载自 Programming 讨论区 】
【 原文由 coconut 所发表 】
Here is another:
find . \( -name var -o -name tmp \) -prune -o print