| Crates.io | kushn |
| lib.rs | kushn |
| version | 0.1.3 |
| created_at | 2023-05-26 12:38:27.152209+00 |
| updated_at | 2023-07-18 19:08:25.353609+00 |
| description | Kushn is a robust and lightweight utility written in Rust for generating SHA256 hashes of files. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 874979 |
| size | 18,887 |
Kushn is a robust and lightweight utility written in Rust for generating SHA256 hashes of files.
It recursively scans all files in the current directory and its subdirectories, creating a JSON file.
This file provides a clear overview of each file and its corresponding hash.
.kushnignore file to specify files, folders, or file types to be excluded from the scan.Install Kushn directly from the official Rust package manager, cargo:
cargo install kushn
Run Kushn in the current directory:
kushn
To specify a custom output file name, use:
kushn --name your_name.json
To ignore specific files, folders, nested folders, or file types during the scan, create a .kushnignore file in the root directory.
folderfolder/subfolder*.txttest.txt or folder/test.txtThe output will be a JSON file (kushn_result.json by default, or a custom name if specified) containing an array of objects.
Each object represents a file and its hash.
Example output:
[
{
"path": "folder/test.txt",
"hash": "12345"
}
]
Contributions, issues, and feature requests are welcome.
Distributed under the MIT License. See LICENSE for more information.