# Linux File no create Time # Access use time # Modify Content modification Time # change state changed time (permissions, owner) # time is default in 24 hours, current time to 24 hours forward 0 days, 48-72 hours ahead for 2 days #- And and match two condition parameters to determine the time range-mtime +2-and-mtime-4#-or or match any one of the conditions
FIND/ETC-name HTTP # finds find by file name.-Type F # Find a file of type find/ -Perm # Finding Find by file permissions/ -User # finds find by file owner/ -Group # finds files according to the groups to which the files belong find/-atime-N # File usage time within n days find/-atime +N # File usage time by N days ago Find/-mtime-N # File content change time within n days find/-mtime +N # File content change time by N days ago Find/-ctime +N # File status change time n days ago Find/-ctime-N # File status change time within n days find/-size +1000000c-Print # Find files longer than 1M bytes find/etc-name"passwd*"-exec grep"Xuesong"{} \; # Find files by name pass to-exec Post command find.-name't*'-exec basename {} \; # Find the file name, do not take the path to find. -type F-name"err*"-Exec Rename err err {} \; # batch rename (find Err Replace with err {} file Find path-name *name1*-or-name *name2* # find any keyword
Linux-find Find