I want to perform a find command in开发者_C百科 a directory, and exclude from the set of results all files that are .gif, .jpeg, and .class.
I was wondering if someone could help me out. I've been trying to play with the regex option, but clearly I'm not doing it properly.
Something like:
find . \! -name '*.class' \! -name '*.jpeg' \! -name '*.class'
精彩评论