Locations to search
can specify 0 or more locations to search if 0 locations are specified then the current directory will be searched locations separated by space character |
Search by name
searching by name only searches the name of the end file, not of the parent folders in that file's path names can contain wildcards for example, to search for files ending in .conf I would use
Search by time
Preceed the number of minutes or days with + to mean "greater than" Preceed the number of minutes or days with - to mean "less than" Examples to find files modified in the last two days use
to find files created more than 30 mins ago use
|
Searching by path
searching by path searches both the name of the end file as well as the names of the parent folders in that file's path paths can contain wildcards for example, to search for files which have parent folders somewhere along their path named "sales" or "marketing" that end in ".dat" I would use:
|
Cheatography
https://cheatography.com
GNU Find Cheat Sheet (DRAFT) by salim.gangji
This is a draft cheat sheet. It is a work in progress and is not finished yet.