[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Saturday 07 October 2006 16:23, 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. > diff -rq <dir1> <dir2> -r makes it recursive, -b is for brief to make diff only output the names of files that are different or only exist in one of the directories. Regards, David. -- David Johnson www.david-web.co.uk - My Personal Website www.penguincomputing.co.uk - Need a Web Developer? -- 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