RE: looking for program/script to diff directories and show dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.)

Ah... good point. I'd assumed that dir1 would always be newer than dir2 (ie. that you only make changes in dir1).

You could combine the output of the diff command though to loop through and grab timestamps. there might be an option to diff to just show timestamps, not the actual diffs too... not sure though

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux