3 ms·
I'm pretty forgetful when it comes time to figure out which files I've modified recently so I'm a big fan of making a timestamp file: touch -t 201011271200 tim
by slindstr 16y ago
I'm pretty forgetful when it comes time to figure out which files I've modified recently so I'm a big fan of making a timestamp file:
touch -t 201011271200 timestamp
and then finding the files that are newer than that timestamp:
find . -type f -newer timestamp
It's especially helpful since Zend Framework has such an arduous file structure sometimes.
- slindstr 16y agoAlthough in hindsight, I guess that's not really a bash trick, just more of a command line trick...
- Despite 16y agoHmm, that's interesting. My first response was "Surely, find can do that without creating a new file." But it looks like the other options only take a number of minutes, or a number of days, not a timestamp. That's a strange deficiency.