Find find path lookup standard processing action
Find path: Default to Current path
Find Standard: Default find all Files under directory
Handling actions: Default display to standard output
Find criteria:
-name "file name": Search by file name
Wildcard characters supported
-user user name: Based on owner Lookup
-group Group name: Search by Genus Group
-uid UID: According to UID
-gid GID: According to GID
-nouser: Finding files that are not owned by the master
-nogroup: Finding files that are not owned by a group
Combination conditions
-A: With the default is the
-O: Or
-!: Non-
File type-type {f,d,b ...}
F: Normal file
D: Catalogue
B: Block device
-size based on file size
Find/var/log-size +10k-ls to find files larger than 10k
+2m files larger than 2M
K: Lowercase k:kb
M: M:MB in Uppercase
G: G:GB in Uppercase
Time
-atime
-mtime
-ctime
-3: The current time, 3 days (forward 72 hours) of the file
+ 3: Files that are not accessed for at least 3 days (72 hours) from the current time
such as: Need to find a file 7 days ago, the current time is August 19 3 o'clock in the morning
+ 6: August 13 hours before 3 of the documents are more than 7 days, to 20th, 3 o'clock in the morning, 14th, before 3 o'clock in the morning files are also belong to 7 days ago documents
Permissions
-perm
-perm-644
Handling actions
-ls: Show details of found files
-exec command {} \;
This article is from the "Hanging Sword" blog, please be sure to keep this source http://sublime.blog.51cto.com/8856101/1545063
Linux Foundation-----Find basic Application