|
Posted by Philip Hallstrom on 10/21/61 11:22
>>> 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
Navigation:
[Reply to this message]
|