checkcrc

Friday, 4. September 2009 11:32 - daniel - Other - 0 Comments


checkcrc is a programm to compare crc32 checksum. Files coming from irc
bots will often be named like "somename_[DEADBEEF].avi", where DEADBEEF
is the crc32 checksum. checkcrc will try to find checksum strings in
filenames and will compare them to the files checksum.

checkcrc can also be used to create checksums of files by using the -c
swtich.

I coded it because I wanted to use some C again and because I really needed a tool to check all those file I leeched from IRC ;). I tried a few things that were new to me, like using options and regex in C and using the GNU configure and build system.

It's fun to use but the GNU documentation sucks for someone who trys these tools for the first times. It's well documentated, but there are very few examples about how to use and there are not really examples about good practise in there. I mostly looked at other projects code and some tutorials to find out what I had to do.

Usage: checkcrc [-cvh] [file ...]
 
    -c  Only calculate checksums, don't try to find a checksum string to compare
    -v  Display version number
    -g  Display this help

    file can by any number of files you want to check.

   
For instructions how to compile and install checkcrc see INSTALL.

Download checkcrc-0.1.0.tar.gz



Comments