verifying files

Matt Alexander lowbassman at gmail.com
Sat Sep 17 13:53:24 MST 2005


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 at srv1 home]# du -s /home/music
> 18759612        /home/music
>
> [root at 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
>
>
>   



More information about the PLUG-discuss mailing list