CLI to generate a manifest of file paths and hashes in JSON or YAML.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__ initial commit Sep 13, 2016
lib fix for node4 and add test Sep 13, 2016
.editorconfig initial commit Sep 13, 2016
.eslintrc initial commit Sep 13, 2016
.gitignore initial commit Sep 13, 2016
.travis.yml fix for node4 and add test Sep 13, 2016
LICENSE Initial commit Sep 13, 2016
README.md Update README.md Sep 13, 2016
fester-cli.js touch the output file, for some reason mtime wasn't getting updating … Sep 15, 2016
package.json 1.0.4 Sep 15, 2016

README.md

Fester

npm version Build Status

Create a manifest of files and hashes from a file, directory or glob. Output in json or yml.

Install

npm install --global fester-cli

Usage

fester --help
CLI to generate a manifest of file paths and hashes in JSON or YAML.

Usage
  $ fester <file1|glob1> [<file2|glob2>...<fileN|globN>] [--output manifest.json]
  $ find -type f -name '*.png' | xargs fester

Options
  -a, --algorithm  Cipher algorithm: md5,sha1,sha256,sha512   [Default: sha512]
  -e, --encoding   Output encoding: hex,base64,buffer,binary  [Default: hex]
  -f, --format     Output format: json, yml                   [Default: json]
  -o, --output     Output filepath                            [Default: null]
  -m, --merge      If an existing file is found, merge it     [Default: null]

Examples
  $ fester *.png --algorithm md5 --format json
  {"file1.png": "1abcb33beeb811dca15f0ac3e47b88d9", "file2.png": "2bcdb33beeb811dca15f0ac3e47b88d9"}

Related