How to compare (diff) files completeness on two computers?

joe at actionline.com joe at actionline.com
Tue Jan 22 14:16:53 MST 2013


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).




More information about the PLUG-discuss mailing list