-mtime 0 represents files that are currently 0 days away from the file modification time, which is less than 1 days (24 hours) away from the current time.
-mtime 1 is a file that is currently 1 days away from the file modification time, which is 1 days (24 hours-48 hours) from the current time.
-mtime+1 indicates file modification time is greater than 1 days file, that is, 2 days (48 hours) away from the current time
-mtime -1 means files with a file modification time of less than 1 days, i.e. files within 1 days (24 hours) from the current time
-type is a parameter to the Find command:
-type: Finding a document of a type
B: Block device documentation
D: Catalogue
C: Character device documentation
P: Piping Documentation
L: Symbolic Link Document
f: General documentation
eg: find a document and delete
find/var/log/*.log*-type f-mtime 0-exec rm-rf{} \
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Shell finds files and deletes