On Fri, Sep 30, 2011 at 10:18 AM, linux guy <linuxguy...@gmail.com> wrote:
> Speaking of which, what is a good way to compare the files in two
> directories (recursively, of course) to ensure that they are exactly the
> same ?
>
> Something like diff for files ?

As opposed to diff for non files? :) I think you mean non text files?

Diff will operate on binary files, but it will only say if it differs
instead of outputting diff text.

Just do a recursive diff, the -q will keep it quiet on text files as
well and only say that it differs.

diff -qr <dir1> <dir2>

If there's any output then somethings not the same.

Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to