How do I search for a file by date in Linux?
Answer
You can use
-mtime option. It returns list of file if the file was last accessed N*24 hours ago.
…
Find Files By Access, Modification Date / Time Under Linux or…
Answer
You can use
-mtime option. It returns list of file if the file was last accessed N*24 hours ago.
…
Find Files By Access, Modification Date / Time Under Linux or…
- -mtime +60 means you are looking for a file modified 60 days ago.
- -mtime -60 means less than 60 days.
- -mtime 60 If you skip + or – it means exactly 60 days.