- Make sure you have python fchksum installed (for gentoo users : emerge dev-python/python-fchksum)
- Create a file (crc32sum.py) w/ the following content:
#!/usr/bin/python import fchksum for file in sys.argv[1:]: print fchksum.fcrc32t(file)[0], " ", file
- Now you can check your favorite Anime files:
$ ./crc32sum.py [DB]_Naruto* F71B0275 [DB]_Naruto_Shippuuden_025_F71B0275].avi 35057A9C [DB]_Naruto_Shippuuden_026_35057A9C].avi
[Update 2008.11.05] Here’s a version which doesn’t need extra modules installation: animecheck.py

























November 5th, 2008
at 01:53
Thanks, had searched for some time.
I need to tell you, thought, that this script doesn’t work as it is, because of the quotes, that have been changed to non-ASCII characters…
November 5th, 2008
at 07:31
@Franz: sorry, the post got messed up during the migration to wordpress. I uploaded an updated version of the script.
January 2nd, 2009
at 18:23
[...] little work on my previous Anime CRC32 checksum program resulted in [...]
April 13th, 2009
at 11:31
I improved it a little: http://pastebin.com/f6decf8fc
(Uses a regexp to find the CRC32 in the filename more reliably)
June 17th, 2010
at 08:34
I have noticed that this script has some size limitations (it was about 1G for me).
I have found another program, cksfv, which can crc32 calculations.
It is designed to be used with a .sfv file, but if you just give it the file names, it will print the name and hash.
I’m sure it would not be very hard to write a bash script to handle the checking, and the colours.
(There is also bsdsfv, but cksfv seems better).