Update README.md

This commit is contained in:
colin 2024-10-01 10:46:39 -04:00
parent bceaf3ca3f
commit da76544520
1 changed files with 14 additions and 0 deletions

View File

@ -17,3 +17,17 @@ To install the `dockerutils.sh` script using the one-liner:
```bash
curl -s https://git.nixc.us/colin/shell-utils/raw/branch/main/install.sh | sudo bash -s dockerutils.sh
```
## Generating SHA-256 Hashes for Shell Scripts
The `sum.sh` script in this repository generates SHA-256 hashes for all `.sh` files in the `src` directory and saves them as `.sha256` files.
### Usage
Run the following command to execute the script:
```bash
./sum.sh
```
The hashes will be saved in corresponding `.sha256` files next to each `.sh` file in the `src` directory.