Re: verifying files

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Alexander
Date:  
To: Main PLUG discussion list
Subject: Re: verifying files
Errrr... if the filenames are different then "diff -r" won't work. Why
are the filenames different anyway? In any case, if you just want some
level of assurance that the data hasn't changed within the files, rename
a few files so they're the same as their counterparts. Then diff or
md5sum them.


Matt Alexander wrote:
> diff -r dir1 dir2
>
>
> Craig White wrote:
>> I'm thinking that I don't entirely trust what I 'exported' from my iPod
>> and want to check it against the music data from my Windows
>>
>> What I want to compare is the entirety of the music data - though the
>> file names and folder names are different, the data within them should
>> be entirely unchanged.
>>
>> so I thought I could md5sum a directory tree but it only works on
>> files. ;-(
>>
>> The data amount should be slightly over 3 Gb in both cases...
>>
>> [root@srv1 home]# du -s /home/music
>> 18759612        /home/music

>>
>> [root@srv1 home]# du -s /home/samba/profiles/craig/My\ Documents/My\
>> Music/iTunes/iTunes\ Music
>>
>> 18776304        /home/samba/profiles/craig/My Documents/My
>> Music/iTunes/iTunes Music

>>
>> Not the same ;-(
>>
>> probably indicates a problem
>>
>> Is there some absolute way to computer a checksum on a directory tree to
>> compare the binary contents?
>>
>> Craig
>>
>>
>>
>
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss