GoSFV is a fast and simple command-line tool designed for the swift verification of file integrity through Simple File Verification (SFV). Written entirely in Go, it offers reliability and speed in one package.
You can use GoSFV in two ways:
-
Drag and Drop: Simply drag and drop the
.sfv
file or the folder containing the.sfv
file onto the executable file (gosfv.exe
on Windows,gosfv
on Unix-like systems). -
Command Line: You can start GoSFV from the command line by providing the path to the
.sfv
file as an argument:gosfv <path to sfv file or folder>
- Automatically detects the
.sfv
file in the provided directory. - Verifies the checksums of files listed in the .sfv file.
- Saves a list of files with incorrect checksums to a separate text file (
failedSFVs.txt
) in the same directory as the .sfv file.
GoSFV relies on the following Go packages, which are all part of the standard library:
- bufio: Used for buffered I/O operations.
- fmt: Used for formatting input and output.
- hash/crc32: Used for calculating CRC32 checksums.
- os: Used for working with the file system.
- path/filepath: Used for file path manipulation.
- strings: Used for string manipulation.