cheat sheets.

$ cheat find
To execute a command on every file/dir
$ find [expression..] -exec [command..] '{}' \;
example: find all files/dirs named CVS and delete them:
$ find -name CVS -exec rm -Rf '{}' \;
example: find all files containing a string:
$ find * -exec grep -l '<string>' {} \;

To search only on the given directory:
$ find [directory..] -maxdepth 1
Version 3, updated 804 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )