[ale] Binary Matching

James P. Kinney III jkinney at localnetsolutions.com
Mon Jun 6 11:00:45 EDT 2005


rsync

On Mon, 2005-06-06 at 10:14 -0400, Mister Anonymous wrote:
> I need to do some binary matching across many files and was wanting to
> get some recommendations on how to do it.  I would like to be able to
> grab a section of binary data from one file (approximately 500
> continuous bytes) and check and see if that is included in other
> binary files.  Any recommendations on an easy way to extract the
> initial 500 bytes (assume I would like to do it from some particular
> offset in the file) and then search for that data in the other file?
> 
> I am afraid that perl might be the best way to do this, but I am not
> that much of a perl hacker.  If there is an easy way to do it using
> python or a shell script, that would be preferable.
> 
> Thanks.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list