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

Re: Recursive diff?



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 gmail com


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