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


On Sat, Jan 19, 2013 at 8:16 AM, Stephen <> wrote:

> There is a tool called swiss file knife such will let you build an md5
> checksum list of all files in a directory then take that generated list to
> another computer to verify it is the same. It has some other nifty tools in
> it as well. It is bash friendly and it has a scripting function that you
> can use to script its commands as well.
>
> http://stahlworks.com/dev/swiss-file-knife.html
> On Jan 18, 2013 10:57 PM, <> wrote:
>
>> Is there some efficient way to compare the completeness of all the
>> directories and files on two different computers?
>>
>> I used rsync to upload all the files from one computer to another (or
>> thought that I had done so), but I have since discovered that some of the
>> files on the source computer are missing on the target computer.
>>
>> Manually searching each directory and sub-directory is obviously very
>> tedious, so I wondered if there was something like 'diff' that could be
>> used globally.
>>
>>
>>
>> ---------------------------------------------------
>> 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
>

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