How To Find Files Modified In The Last Two Days
- Forums
- Linux Hosting
- How To Find Files Modified In The Last Two Days
ok, so you have some files you want to look for, but lets say you only want to find the files which you have only edited within the last 2 days, you can use this command to do that [1380], Last Updated: Mon Jun 24, 2024
Hostman
Mon Mar 22, 2010
0 Comments
445 Visits
ok, so you have some files you want to look for, but lets say you only want to find the files which you have only edited within the last 2 days, you can use this command to do that
# find / -mtime 2
-mtime n
Files data was last modified n*24 hours ago. See the comments for -atime to understand how rounding affects the interpretation of file modification times.