Not finding

Every wish you could use the command line find utility but have it exclude directories? Yea, me too, all the find. No seriously. And it turns out it’s pretty easy to do, too… it only took me a decade or two to stumble on the solution:

$ find . ‘!’ ‘(’ -name ‘.cvs*’ -prune ‘)’

There you go, a simple solution to a common problem.