Skip to content

MakerDyne/Recursive-Checksummer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

------------------------------------------------------------------------------
Recursive Checksummer
Program to generate or check MD5 checksums of all files within a directory tree
------------------------------------------------------------------------------

System Requirements:

Requires Mono/.Net 4.0 or higher


Usage Summary:

Program runs in one of three modes:

1.) Given a source directory, generates checksums for all files within that directory tree and writes them to a file
    Required command line arguments for this mode: -s -f

2.) Given a source and destination directory, compares checksums for all files within the source tree with those in the destination tree.
    Optionally will also write the checksums for all files within the source directory to a file.
    Required command line arguments for this mode: -s -d, Optional: -f

3.) Given a destination directory, checks checksums for all files within that directory against a list provided from a file.
    Required command line arguments for this mode: -d -f


Command line argument details:

-s      /path/to/source/directory

-d      /path/to/destination/directory

-f      /path/to/fileWithChecksums.txt - Must be spedified after (-s) and/or (-d).
        If (-s) is specified, checksums will be written to the file. If the file already exists, it will be overwritten without warning.
        If (-d) is specified, checksums will be read from the file.
        If the file is within either the source or destination directory trees, it will be ignored in the checksumming process.

-c      (Optional) Number of processor cores to use when calculating checksums. Specify a positive integer number.

-n      (Optional) Use .Net's built-in MD5 checksum generator instead of the Linux utility md5sum.
        If md5sum cannot be found, program will automatically fall back to using .Net for checksum generation.
        .Net's checksum generator is slower than the md5sum utility.

-q      (Optional) Print debugging information in the program output.

-h      (Optional) Print program usage information and exit.


Things to watch out for:

1. The program follows symbolic links wherever they lead.
2. Don't feed the program special directories like /dev, /proc or /sys

About

Utility to generate or check checksums for all files within a directory tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages