Skip to main content

No project description provided

Project description

CRCUtil

Recursively traverses a given location and generates a hash.json containing a CRC value for every encountered file/dir

[!NOTE] Installation is supported only for the following:

  • Windows
  • Linux

[!NOTE] Development requires a fully configured Dotfiles dev environment

Table of Contents

Installation

Pip

python3 -m pip install crcutil

Usage

Hash

-l The location for which to generate the hash

crcutil hash -l C:\DESIRED\PATH

This will generate a hash.json file in:

  • Windows
C:\Users\<USERNAME>\Documents\crcutil\
  • Linux
$HOME/crcutil

Diff

If you hold 2 hashes generated from the same directory and would like to compare the differences.

-l The location of both hash files to compare

crcutil diff -l C:\HASH_FILE_1.json C:\HASH_FILE_2.json

This will compare both hash files and generate a diff.json in:

  • Windows
C:\Users\<USERNAME>\Documents\crcutil\
  • Linux
$HOME/crcutil

Pause/Resume

  • The program can be paused/resumed at any time by pressing p, if a CRC is being calculated for a file you have to wait for the calculation to complete before the program can pause.
  • If you exit the program or it crashes unexpectedly mid operation, invoke the same command and the program will continue where it left off, as long as the hash file is not corrupted

Development

[!NOTE] Development requires a fully configured Dotfiles dev environment

source init.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crcutil-1.3.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crcutil-1.3.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file crcutil-1.3.0.tar.gz.

File metadata

  • Download URL: crcutil-1.3.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for crcutil-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b3e24bea643c9f888e11b33e01a48517c617f88ac5c844d2e5fbe53645a59db9
MD5 7e2503a619209818030682120db0d82c
BLAKE2b-256 4c0f3a2cd30c54e011eae0d2fa5367076e9bf365bbe71b284af10086dc2c1710

See more details on using hashes here.

File details

Details for the file crcutil-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: crcutil-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for crcutil-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7abfea8937c89e3b4b18fbf3c36ff4c6ee7fd63bf2d5ad9447b268b946de957c
MD5 a8c06b62294192819acf77d46f33dcbf
BLAKE2b-256 e7de7f20eaf8df1aa22559ffb54931d84c36d8241a1dbe968612285ef068d666

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page