User Panel:

Viewing Topic
  • checksums [options] FILES

checksums is a utility to verify the integrity of a file using a CRC32 checksum stored in the file name. A CRC32 checksum is an 8 character hexadecimal string. This is a common practice used by Anime sub releases.

When checking the checksum, the following file name formats are recognized:
  • ...[checksum]...
  • ...(checksum)...
  • ..._checksum_...

When appending the checksum to the file name, the bracketed (first) format is used.

  • --version: show program's version number and exit
  • -h, --help: show this help message and exit
  • -c, --check: Compute the checksum and try to match it to the file name using one of the formats listed above.
  • -a, --append: Compute the checksum and append it to the the file name, just before the file extension.
  • -v, --verbose: Print extra information

FILES is the list of files to preform the action on. This can be a single file, multiple files, or a glob if your shell supports it.

  • checksums -a report.txt image.png *.xml
  • checksums -c *.mkv
  • checksums video-\[1004456E\].3gp

Posted in: [ Scripts ] [ Python ]
[ posted 11/03/10 @ 0142 -5 GMT ] by Sparky
[ edited 11/05/10 @ 1732 -5 GMT ] 2 in total
[ Views( 40281 ) ] - [ Coments( 0 ) ]