################################################################################
##                                   CRCGen                                   ##
################################################################################
crcgen  version: 1.0.0 Apr  1 2005 @ 11:38:43

USAGE:

   crcgen  [-c <string>] [-r] [-s] [--] [-v] [-h] <fileNameString> ...


Where:

   -c <string>,  --compare <string>
     (value required)  Compare CRC

   -r,  --recurse
     Recurse through file system..

   -s,  --sum
     Sum CRC.

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   -v,  --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.

   <fileNameString>  (accepted multiple times)
     (value required)  file names


   Generate CRC for files.


This tool simply generates a human readable CRC value for a file or set of files.

This can be useful to tell if a files bytes have changed in any way.

To generate a CRC for a file simply:

crcgen test.zip

output:

FAD5AB7B        test.zip

0 Total seconds.

By using file wildcards you can generate a list of CRCs:

crcgen *.zip

Or you can generate a single CRC for a group of files by using the -s switch:

crcgen *.* -s

output:

9202A334        TOTAL

2 Total seconds. 

You can also use this tool recursively by using the -r switch to recurse through
directories. Be warned that generating a CRC for a file is a time consuming task,
so generating a single CRC for your entire hard drive could take some serious time,
but for quickly compairing two small directory trees it can be very useful.

The filename can be replaced by file that contains a list of files to be 
processed. This is specified by a '@' before the file name, for example:

CRCGen @myfiles.lst -s

This will look for the file myfiles.lst and process those files. List files can
contain references to other list files by using the same syntax as the command 
line. List files are just text files, with one file name per line, as mentioned
before, these filenames may also be file lists denoted by an '@' before the 
name.

Don't worry about circular references or duplicate entries as they are ignored
during processing.

If you need to compare files to a CRC value, you can do this using the -c switch
which requires a value.. for example :

crcgen ToolBox.txt -c 0BB67C62
0BB67C62        ToolBox.txt     **matched CRC**

0 Total seconds.

If you don't know the file name and only have the CRC, you can use a wildcard:

crcgen *.* -c 0BB67C62

This will product the normal CRC list but if the CRC is matched it will add the
text **matched CRC** to the matching file.