Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to recursively list all files in a directory that were modified after a certain date. Is this possible?

share|improve this question

migrated from stackoverflow.com Nov 7 '12 at 8:29

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers 3

touch -t YYMMDDhhmm.SS /tmp/timestamp
find directory -type f -newer /tmp/timestamp
rm /tmp/timestamp
share|improve this answer
add comment

You can use find...

touch –date "2012-11-07" /tmp/find_after
find / -newer /tmp/find_after
rm /tmp/find_after
share|improve this answer
add comment

Probably you are looking for this:

find . -type f -mtime 1

this above command will show you files modified 1 day ago from the current directory recursively.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.