Operating System - Linux
1819704 Members
3446 Online
109605 Solutions
New Discussion

find files modified on a certain date

 
yyghp
Super Advisor

find files modified on a certain date

I need to search the whole filesystem for all those files being modified/accessed on Jan 26,2006.
How can I use "find" command to do that?
Thanks!
1 REPLY 1
yyghp
Super Advisor

Re: find files modified on a certain date

I got the answer:

# touch -amt 200601260000 /tmp/ref1
# touch -amt 200601262359 /tmp/ref2
# find / -type f -newer /tmp/ref1 -a ! -newer /tmp/ref2