D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Recursive file diff

 

paul sutton wrote:
> Simon Williams wrote:
> 
>> I'm looking for something which will compare the contents of two 
>> directories and list all files which are different/don't exist in one.
>> The obvious one for this was rsync with the dry-run option, but it gives 
>> no output for some reason.

> does rsync have a -v or verbose switch,  that usually produces screen output

Yes, but not with dry-run. Don't know why.
As suggested, plain diff seems to do what I want- though I'm sure I 
tried it before.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html