find operators
Listed in order of decreasing precedence:
( expr )
Force precedence.
! expr True if expr is false.
-not expr
Same as ! expr, but not POSIX compliant.
expr1 expr2
Two expressions in a row are taken to be joined with an implied
"and"; expr2 is not evaluated if expr1 is false.
expr1 -a expr2
Same as expr1 expr2.
expr1 -and expr2
Same as expr1 expr2, but not POSIX compliant.
expr1 -o expr2
Or; expr2 is not evaluated if expr1 is true.
expr1 -or expr2
Same as expr1 -o expr2, but not POSIX compliant.
expr1 , expr2
List; both expr1 and expr2 are always evaluated. The value of
expr1 is discarded; the value of the list is the value of
expr2. The comma operator can be useful for searching for
several different types of thing, but traversing the filesystem
hierarchy only once. The -fprintf action can be used to list
the various matched items into several different output files.
"Instead of getting married again, I'm going to find a woman I don't like and just give her a house." - Lewis Grizzard
Related Linux Bash commands:
find - Search a folder hierarchy for filename(s) that meet a desired criteria.
grep - Search file(s) for lines that match a given pattern
xargs - Execute utility, passing constructed argument list(s)
Equivalent Windows XP command:
DIR /b /s - Display a list of files and (sub)folders