find [path...] [expression...]

Walk a file hierarchy

Arguments

NameDescription
pathfolders
expressionComposition of primaries and operands

Options

NameDescription
-EInterpret regular expressions followed by -regex and -iregex primaries as extended
-HCause the file information and file type returned for each symbolic link specified to be those referenced by the link
-LCause the file information and file type returned for each symbolic link to be those of the file referenced by the link
-PCause the file information and file type returned for each symbolic link to be those for the link itself
-XPermit find to be safely used in conjunction with xargs
-dCause find to perform a depth-first traversal
-f <path>Specify a file hierarch for find to traverse
-sCause find to traverse the file hierarchies in lexicographical order
-xPrevent find from descending into directories that have a device number different than that of the file from which the descent began