On Friday 25 April 2014, you wrote: > On Thu, Apr 24, 2014 at 11:16:29PM +0200, silverdr@wfmh.org.pl wrote: > > diff - compare files line by line > > > >But diff can be used as well. > > To compare binary files that are of the same size, I often do something > like this: > > od -Ax -t x1 file1.bin > file1.txt > od -Ax -t x1 file2.bin > file2.txt > > diff -u file1.txt file2.txt > > Actually, I usually do not construct the file2.txt, but compare it > on-the-fly: > > od -Ax -t x1 file2.bin | diff -u file1.txt - > > These should work on any Unix. In the past, I used a program called > "hexdump" in some GNU/Linux distributions. vbindiff is a nice tool for this kind of stuff, most distros should have a package :) -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Wenn Sie schon Raubkopien machen, dann stellen Sie wenigstens sicher, dass die Qualitaet gut ist. [...] Zeigen Sie etwas Respekt für das Gut, das Sie stehlen. <Terry Gilliam> Message was sent through the cbm-hackers mailing listReceived on 2014-04-25 20:01:00
Archive generated by hypermail 2.2.0.