Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Nov 7 '12 at 8:29

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

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

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

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

You must log in to answer this question.