Find files modified after a date

How do you find the files which have been sneakily changed following a release?

The find -newer command can list files which were modified after another file
But I’m not sure there is a way to pass dates in directly?

The workaround is to create a temporary file with the required date, using touch

eg. for files modified after Christmas day 2006 (YYYYMMDDhhmm)

touch -t 200612250000 mydate
find . -type f -newer mydate



here is a quick shell script to automate finding files modified today, from the current directory:

#!/bin/sh
touch -t `date +%Y%m%d0000` /tmp/todaytimestamp
find . -type f -newer /tmp/todaytimestamp


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply