Linux snippet: find recently changed files
Posted by gregster on 23 Sep 2010 in R & D, Notes, Documentation, Documentation
I had to find a file that had changed recently in order to track down a configuration file location.
The code is straightforward, but impossible to remember.
Run this:
find . -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort | grep '2010-09-23 11:09'
and it will return something like this:
2010-09-23 11:09:24.6718347970 ./.cache/ubuntuone/log/syncdaemon.log
2010-09-23 11:09:43.0224589250 ./.cache/google-chrome/Media Cache/data_1