December 27th, 2008
Using ‘find’ to find files newer than certain date
Posted by
Administrator in
Observations | Edit
//first touch file with output of date we want to find
[user@host ~]$touch -t `date +08050000` /tmp/$$
//than output info of those that are newer than that file
[user@host ~]$ sudo find /path/ -newer /tmp/$$ -printf ‘%h/%ft%ct%un’ > changedfiles.txt