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

sean ritzler sean.a.ritzler at gmail.com
Tue Jan 22 14:20:42 MST 2013


Glad it worked. I forgot to mention: pipe it to sort: diff -r -q dir1 dir2
| sort
Much better!
Sean

On Tue, Jan 22, 2013 at 2:16 PM, <joe at 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).
>
>
>  ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130122/0615121b/attachment.html>


More information about the PLUG-discuss mailing list