as you probably know from the atime, ctime and mtime post, the mtime is a file property confirming the last time the file was modified. … find uses mtime option to identify files based on when they were modified.
What is Mtime command in Linux?
The second argument, -mtime, is used to specify the number of days old that the file is. If you enter +5, it will find files older than 5 days. The third argument, -exec, allows you to pass in a command such as rm.
What is Mtime in find?
-mtime n File’s data was last modified n*24 hours ago. … When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored, so to match -atime +1, a file has to have been accessed at least two days ago.