Hi, new here!
I’d like to know, what would be the commands to find all files which have not been modified within 1 week.
Thank you in advance for your help!
Hi, new here!
I’d like to know, what would be the commands to find all files which have not been modified within 1 week.
Thank you in advance for your help!
find /home/you -name "*.txt" -mtime -60 -print
-60 is 60 days. You can find more info here::
https://www.cyberciti.biz/faq/howto-finding-files-by-date/
This should help. You can adjust it for your liking.
Welcome to the community!
Thank you. This works.