gosfv

command module
v0.0.0-...-3149fc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 6 Imported by: 0

README

GoSFV

GoSFV is a fast, simple, and OS-independent 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.

Usage

After installing Go, you can easily compile the Go source code using the following command:

go build GoSFV.go

If you want to cross-compile from Windows for Linux architecture, run this before using the go build command:

32-bit Linux
set GOOS=linux
set GOARCH=386
64-bit Linux
set GOOS=linux
set GOARCH=amd64

After compiling the file, you can use the resulting executable as follows:

GoSFV.exe PATH

Make sure to replace PATH with the actual path that contains a .sfv file and the files that need to be verified. GoSFV will report any verification failures and save the results in a text file named 'failedSFVs.txt,' located in the same directory as the .sfv file.

Dependencies

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL