PDA

View Full Version : [Solved] Diff between folders - binary file comparison


budric
March 15th, 2009, 21:29
Hi, is there a command line utility that will do a diff between 2 folders and tell me if a file is missing from one or the other and do a binary comparison between files?

There's dirdiff port but it won't run unless I have X-win running.

Thanks,

vermaden
March 15th, 2009, 22:38
% diff -r -q dir1 dir2

phoenix
March 16th, 2009, 04:22
There's always the old "ls -1" (that's a one not an el) into two files, and diff the two files. :)

budric
March 16th, 2009, 04:26
Thanks for the help. Works nicely.