sfv-cli

CLI tool to verify and create SFV files

Usage no npm install needed!

<script type="module">
  import sfvCli from 'https://cdn.skypack.dev/sfv-cli';
</script>

README

sfv-cli

npm npm CircleCI David

CLI tool to verify and create SFV files (see Simple File Verification). This package also introduces an extended SFV-like file format (.sfvx), which supports modern hashing algorithms.

Screenshot

Installation

yarn global add sfv-cli || npm install --global sfv-cli

Usage

You can now use the sfv command in your Terminal emulator:

# Create .sfv
sfv vlc.exe -o vlc.sfv

# Verify .sfv
sfv vlc.sfv

Note: You can also use node-sfv to avoid naming conflicts

Options

Running sfv --help lists all available flags

  -V, --version                output the version number
  -a, --algorithm [algorithm]  specifies hashing algorithm
  -F, --fail-fast              stops execution after first error (default: false)
  -f, --format                 aligns checksums (default: false)
  -o, --output <file>          specifies output file
  -p, --print                  prints SFV file to stdout (default: false)
  -s, --sort                   sorts output (default: false)
  -w, --winsfv                 enables WinSFV compatibility (default: false)
  -h, --help                   display help for command

Related

License

This work is licensed under The MIT License