How to find a file that's modified more than 2 days ago but less than 5 days
How to find a file that's modified more than 2 days ago but less than 5 days ago by use of any Linux utility ?
|
Use the find command
Code:
man find # excerpts of -mmin -mtime -type Because of this, if a result if valid for greater then 2 days AND less then 5 days, it should show up. For example, find -iname \*py -iname m\* will find all files ending in py, then for those results, find files starting with m. (You could also do m*py but misses the point) |
All times are GMT -5. The time now is 12:26 PM. |