Thanks for the response. I did read about using cmp somewhere but it seemed a little odd the way it was done as it used ls -ltr *.iso to get the length then the next command was length=<length> and finally cmp was used with with a variable $length somehow and involved a block size=512 along with dd utility or something I forget exacat syntax. Didn't work for me though because the $length/512 gave me an error in bash.
Are you saying just use it like this: cmp /dev/sr0 /path/to/*.iso
Because wouldn't that include those zeros also for /dev/sr0
I guess I could try cmp with the -n switch and the size from ls-l *.iso for the argument. Is that right?
Last edited by minty33; 04-16-2013 at 01:42 PM.
|