News for hackers. Stuff that matters.
Re:What is your favorite command-line trick using Bash? by slindstr on Saturday November 27, 2010 @06:57PM (#1946212)
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.

Re:What is your favorite command-line trick using Bash? by Despite on Saturday November 27, 2010 @09:24PM (#1946460)
Hmm, 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.

Re:What is your favorite command-line trick using Bash? by slindstr on Saturday November 27, 2010 @06:58PM (#1946214)
Although in hindsight, I guess that's not really a bash trick, just more of a command line trick...