find command to detect installations

Hi
I'm wondering how I can find all the files which were installed on certain date?

For example: I'm looking for alle the files which were installed on the 11.09.06 on the system.

Does somebody know how to do this?

Thanks

Reto

Hi goldenglobe,

Use find's -newer predicate and the inversion operator ! (man find). Touch a file with timestamp at the beginning of the time period of interest, and one at the end of interest (man touch)

touch -t 200609110000 /tmp/my.start
touch -t 200609120000 /tmp/my.end
find /path/to/search -newer /tmp/my.start ! -newer /tmp/my.end -ls

Hope this helps,

-c

if you have stat command, you can use a combination of find and stat , awk to parse the results. just an example. tweak it to suit your needs

find /home/ -type f -name "*.txt" | xargs stat | awk '/File:/{line=$0}/2006-09-11/{print line" "$0}'