gckdir

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2017 License: MIT Imports: 5 Imported by: 0

README

gckdir

This is go-check-directory tool.

Description

You can generate a hash list of specified directory in the json format.
With the hash list, you can compare the target directory's structure and each hash value of files.

Usage

Generate
$ gckdir generate path/to/source_directory hash_name.json

For more details, please see gckdir generate --help.

Compare
$ gckdir compare hash_name.json path/to/target_directory

or

$ gckdir compare path/to/source_directory path/to/target_directory

For more details, please see gckdir compare --help.

Create a result report
$ gckdir compare --report hash_name.json path/to/target_directory

You can create a comparison result report with --report option.

comparison_report

Create and open immediately a result report
$ gckdir compare --open hash_name.json path/to/target_directory

If you want to check the result immediately on the browser, please use the --open option. This option includes the --report option.

open_animation

Install

To install, use go get:

$ go get -d github.com/KemoKemo/gckdir

Contribution

  1. Fork (https://github.com/KemoKemo/gckdir/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

KemoKemo

License

MIT

Special Thanks

This application uses the following excellent projects.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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