[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
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. >> >> Any ideas? >> Thanks >> Simon >> >> >> > does rsync have a -v or verbose switch, that usually produces screen output diff -rq will do it - leave off the 'q' if you actually want to see the differences. Use of 'grep' and 'cut' to get the actual filenames which are different one side or the other is left as an exercise to the reader ;-) Paul -- 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