RE: [PHP] looking for program/script to diff directories and show dates
| From: | Chris W. Parker | Date: | Wed, 27 Jul 2005 18:42:37 +0000 |
| Subject: | RE: [PHP] looking for program/script to diff directories and show dates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219446@lists.php.net to get a copy of this message | ||
Philip Hallstrom <mailto:php@philip.pjkh.com>
on Wednesday, July 27, 2005 11:09 AM said:
>> I was just expirementing with the diff command and was wondering if
>> there was anything out there that does the same thing but with a more
>> intuitive interface?
>
> What's wrong with "diff -r --brief dir1 dir2"
>
> That's about as intuitive as you can get, no?
Well to answer your question, no. It could get a lot more intuitive than
that. For one, I don't know which file was updated last (ok, well, *I*
know when, but not anyone else that might come later, or for that matter
me in 6 mths.)
I was using 'diff -rc dir1 dir2' before I wrote my email. I didn't
notice the --brief command, but I like it.
Thanks,
Chris.