akhanda

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 15 Imported by: 0

README

Akhanda

Akhanda is a Go program that generates and verifies SHA256 checksums for files in a directory. It supports parallel processing and displays a progress bar while it's working.

Installation

  1. Clone the repository:

    git clone https://github.com/majorsahab/akhanda.git
    
  2. Navigate to the project directory:

    cd akhanda
    
  3. Build the project:

    go build
    

Usage

Akhanda supports two actions: generate and verify.

Generate checksums

To generate checksums for all files in a directory, use the generate action. By default, Akhanda will process the current directory and save the checksums to a file named checksums.txt.

./akhanda -action=generate -directory=/<path>/<to>/<dir> -checksumFile=<mychecksums_file>
Verify checksums

To verify checksums for all files in a directory, use the verify action. Akhanda will read the checksums from the specified checksum file and compare them to the current checksums of the files in the directory.

./akhanda -action=verify  -checksumFile=<mychecksums_file>

Contributing

Contributions are welcome! Please feel free to submit a pull request.

License

This project is licensed under the MIT License. See the COPYING file for details.

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