find - a utility for finding files.
find -[PLH] search-start-point[s] [filters] [actions]
Options
-P - default, don't follow symbolic links.
-L - follow symbolic links, even onto other filesystems.
-H - follow link only if it is a searh-start-point.
search-start-point[s]
- list of directories where to start search in.
- can be relative or absolute.
- if file found, directory path included in found file info.
filters - list of contitional qualifying tests - optional.
Partial list of filters.
-mount - stay in local file-system of search-start-point.
When used with -L, follows links but only on same partition.
-name name - look for specified name. Filename wild-cards allowed
so quoting is a good idea in many cases.
-inum n - look for filename[s] with the inode n. Good for
finding multiple names for a file. Note, you must have permissions to
access directories under starting-point.
-link n - look for files having a certain link count. +/- can
be used to specify greater or less than.