@alphahydrae/dgstore
Hash files and store the digests next to the files for future comparison.
Last updated 2 years ago by alphahydrae .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @alphahydrae/dgstore 
SYNC missed versions from official npm registry.

dgstore

Hash files and store the digests next to the files for future comparison.

npm version license

Usage

Running this command will create digest files next to your files so that you can easily check whether the file has changed in the future.

For example, running dgstore on a backup.tar.gz file would create a backup.tar.gz.sha512 file in the same directory. If that .sha512 digest file already exists, it will read it, re-hash the file, and compare both hashes to tell you whether it has changed or not since the digest file was saved.

npm install -g dgstore

# Compute and store/check a single file's digest.
dgstore "some-file.txt"

# A directory's imediate files.
dgstore "some-directory/*"

# All files in a directory (recursively).
dgstore "some-directory/**/*"

# Include dot files.
dgstore "some-directory/*" "some-directory/.*"

Requirements

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 5
Dependencies (6)
Dev Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |