csum

A CLI tool to calculate a checksum for a file.

csum

A command-line tool for calculating checksums with ease, featuring multi-algorithm support and color-coded output for intuitive and efficient use.

Overview

csum is designed to provide a straightforward way to calculate checksums for files, using various algorithms. With user-friendly output and multiple options for customization, csum is an essential utility for developers and system administrators alike.

Key Features

  • Flexible Algorithm Support: Choose from multiple checksum algorithms.
  • Comprehensive Commands: Access help, check versioning, and verify file checksums effortlessly.
  • Enhanced Visuals: Color-coded output for improved readability.

Prerequisites

Ensure the following dependencies are installed on your system:

  • Crystal: A fast, compiled language with Ruby-like syntax.
  • Make: A build automation tool to compile and manage project dependencies.

Quick Start Guide

Verify Dependencies

Before proceeding, confirm that all required dependencies are present:

make dependency

Installation Steps

  1. Clone the Repository:
git clone https://github.com/IsMoreiraKt/csum
cd csum
  1. Compile the Project:
make
  1. Install the Tool:
sudo make install

Clean Build Files

To remove compiled files and clean up your project directory:

make clean

Usage

Calculating the checksum of a file is simple:

csum [FLAGS] [FILE]

Command Reference

  • csum --help | csum -h: Display a detailed help message with all available commands.
  • csum --version | csum -v: Show the current version of csum.
  • csum --sysv | csum -s: Compute the checksum using the System V sum algorithm (512-byte blocks).
  • csum | csum -r: Use the default BSD sum algorithm (1K blocks).
Repository

csum

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • about 1 month ago
  • November 11, 2024
License

GNU General Public License v3.0

Links
Synced at

Sun, 22 Dec 2024 05:46:16 GMT

Languages