Re: How to compare (diff) files completeness on two computer…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: sean ritzler
Date:  
To: Main PLUG discussion list
Subject: Re: How to compare (diff) files completeness on two computers?
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, <> 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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss