Recursive diff?

Les Mikesell lesmikesell at gmail.com
Fri Nov 30 19:39:20 UTC 2007


Ashley M. Kirchner wrote:
> 
>    What's the best way to run diff against two folders, comparing every 
> single file in each one?
> 
>    Basically we're trying to figure out what changes have been made 
> between a backup folder and a current one.  They both contain folders 
> within folders and files within them.

Is that a trick question?

diff -r path1 path2

pipe to less or direct output to a file for later review.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the fedora-list mailing list