Skip to main content

No project description provided

Project description

CRCUtil

A CLI tool that recursively traverses a given location and generates a crc.json containing a CRC checksum value for every encountered file/dir

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

  • Windows (amd64)
  • Linux (amd64)
    • X11
    • Wayland

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

Table of Contents

Installation

[!NOTE]

  • Requires Python 3.12+
  • Requires pip

Windows

pip install crcutil

Linux (X11)

python3 -m pip install crcutil

Linux (Wayland)

[!NOTE]

  • This will add your user to the input group and immediately log out.
  • This makes it possible in Wayland to track keyboard presses for the playback controls
python3 -m pip install crcutil
sudo usermod -aG input $USER
sudo pkill -p $USER

Usage

crc

Generate CRC32 checksums

crcutil crc -l 'C:\path_to_traverse' -o 'C:\path_to_output.json'

[!NOTE] This will output a crc.json file in the supplied -o argument.
If no -o argument is supplied, then the default output location is:

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

diff

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

crcutil diff -l 'C:\crc_1.json' 'C:\crc_2.json' -o 'C:\diff.json'

[!NOTE] This will compare both crc files and output a diff.json in the supplied -o argument.
If no -o argument is supplied, then the default output location is:

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

Pause/Resume

  • The tool can be paused/resumed at any time by pressing:
    • p
      • Windows
      • Linux (X11)
    • alt+p
      • Linux (Wayland)
  • The tool can be exited at any time (will continue where left off if you invoke the same command) by pressing:
    • q
      • Windows
      • Linux (X11)
    • alt+p
      • Linux (Wayland)

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-2.0.3.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

crcutil-2.0.3-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crcutil-2.0.3.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for crcutil-2.0.3.tar.gz
Algorithm Hash digest
SHA256 3e48d5d017a4c3679e780ff94bd0bab211400fcfc43a3722a6a1857f261df6bc
MD5 afb0be4177397dbb87c6c09fc4bd6dd5
BLAKE2b-256 e6b1eb26ea13fca33b419fbc6c8f5c13b6bbb37d2b8a09280a0a4797711e063c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crcutil-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for crcutil-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4682c9a739a7bc6b646e5a19f56c37570279eb18db528a0c7d480ab1091587b
MD5 b554d2c034b9ab224023a9b33d0cdff5
BLAKE2b-256 160a631382422f232680d999a15cbc4ab07550f0d5924a46c0a4b4f631f51a0a

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