damaged files (mp3,txt , etc) on flash-drive

Hans Petter Selasky hselasky at c2i.net
Sun May 11 11:28:36 UTC 2008


On Sunday 11 May 2008, Andrew Pantyukhin wrote:
> On Sat, May 10, 2008 at 11:41:54PM +0400, Мистер Андерсон wrote:
> > # md5 Invasion_s01e06_DVDRip_RUS.avi
> > MD5 (Invasion_s01e06_DVDRip_RUS.avi) =
> > 8e1240afd0601f082f8a718e461f1531
> > # cp Invasion_s01e06_DVDRip_RUS.avi /usr/home/fdkit/flash/
> > # md5 /usr/home/fdkit/flash/Invasion_s01e06_DVDRip_RUS.avi
> > MD5 (/usr/home/fdkit/flash/Invasion_s01e06_DVDRip_RUS.avi) =
> > 533b5700c120b652a63079c5ff9ec386
> >
> > I wish to notice that if to copy files in the size up to ~1mb
> > that damages is not present.
>

Could you do a hexdump of the two files and figure out what has changed ?

cat a | hexdump -C > a.txt
cat b | hexdump -C > b.txt

diff -u -b a.txt b.txt

--HPS


More information about the freebsd-usb mailing list