Glad it worked. I forgot to mention: pipe it to sort: diff -r -q dir1 dir2 | sort
On Tue, Jan 22, 2013 at 2:16 PM,
<joe@actionline.com> wrote:
Thanks Sean. That was exactly what I needed.
I didn't know about that -r option.
It actually worked better than expected and
it even worked to show the difference in various files.
Amazing.
> If you just want to compare a listing of files (rather than integrity
> checks as Stephen mentioned), diff itself can actually compare directory
> contents. Since one of the directories is remote, I would first mount it
> via sshfs and use `diff -r -q dir1 dir2`. -r makes diff go through
> directories recursively and -q will quiet the output (won't show
> differences between individual files).