checksum-utils

command module
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

README ΒΆ

Checksum-Utils βœ…

Multiplatform file checksum tools


Go badge

Checksum Utils is a CLI tool to manage the checksum of your files, focused on NAS systems.

✨ Features

πŸ’» Install

  1. Download the latest release from the releases page according to your operating system.

  2. Move and rename the downloaded executable to your PATH, so you can use it from anywhere.

    mv ./checksum-utils_linux-amd64 /usr/local/bin/checksum-utils
    
  3. Give it execute permissions if necessary:

    chmod 0755 /usr/local/bin/checksum-utils
    

πŸš€ Usage

Create checksum files

This command reads the files in a folder, gets their checksums, and creates a file with the .sha512 extension with it, so you can have a record of the checksum of that file.

Let's say you want to create the checksum files for your folder "documents":

β”œβ”€β”€ ~
β”‚   β”œβ”€β”€ documents
β”‚   β”‚   β”œβ”€β”€ document-1.pdf
β”‚   β”‚   β”œβ”€β”€ document-2.ppt
β”‚   β”‚   └── document-3.csv
β”‚   β”œβ”€β”€ music
β”‚   β”œβ”€β”€ pictures
β”‚   └── videos

Use the command:

checksum-utils create ~/documents

This command will create a .sha512 checksum file for each file in your folder:

β”œβ”€β”€ ~
β”‚   β”œβ”€β”€ documents
β”‚   β”‚   β”œβ”€β”€ document-1.pdf
β”‚   β”‚   β”œβ”€β”€ document-1.pdf.sha512 <-- created by checksum-utils
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ document-2.ppt
β”‚   β”‚   β”œβ”€β”€ document-2.ppt.sha512 <-- created by checksum-utils
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ document-3.csv
β”‚   β”‚   └── document-3.csv.sha512 <-- created by checksum-utils
β”‚   β”œβ”€β”€ music
β”‚   β”œβ”€β”€ pictures
β”‚   └── videos

Check checksum files

This command reads the content of the files generated by the command "checksum-utils create ~/documents" and compares them with the original file to verify if the checksum remains the same.

Let's say you want to check the checksums of the files of your folder "documents":

β”œβ”€β”€ ~
β”‚   β”œβ”€β”€ documents
β”‚   β”‚   β”œβ”€β”€ document-1.pdf
β”‚   β”‚   β”œβ”€β”€ document-1.pdf.sha512
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ document-2.ppt
β”‚   β”‚   β”œβ”€β”€ document-2.ppt.sha512
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ document-3.csv
β”‚   β”‚   └── document-3.csv.sha512
β”‚   β”œβ”€β”€ music
β”‚   β”œβ”€β”€ pictures
β”‚   └── videos

Use the command:

checksum-utils check ~/documents

The command will display the results of the comparation of the current checksum of the file with the one stored in the file with the .sha512 extension:

β”œβ”€β”€ ~
β”‚   β”œβ”€β”€ documents
β”‚   β”‚   β”œβ”€β”€ document-1.pdf βœ…
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ document-2.ppt βœ…
β”‚   β”‚   β”‚
β”‚   β”‚   └── document-3.csv ❌
β”‚   β”œβ”€β”€ music
β”‚   β”œβ”€β”€ pictures
β”‚   └── videos

πŸ—οΈ Dev

You must have golang installed on your system.

  1. Clone the project:

    git clone https://github.com/JuanOrbegoso/checksum-utils.git
    
  2. Install Go dependencies:

    go mod download
    
  3. Build:

    make build
    

πŸ§‘β€πŸ’» Author

Juan Orbegoso:

Documentation ΒΆ

Overview ΒΆ

Copyright Β© 2025 Juan Orbegoso

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

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