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)
- p
- 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)
- q
Development
[!NOTE] Development requires a fully configured Dotfiles dev environment
source init.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crcutil-2.0.4.tar.gz.
File metadata
- Download URL: crcutil-2.0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bcc7083027d9e19cc9ef8d113e28091f3bef8c4259a2c608d1a3602d4a7032d
|
|
| MD5 |
12702af01d51fc720fc5bd25124cfeaf
|
|
| BLAKE2b-256 |
acd024e208a53b8ca44ef42ef843437c5bd727d566f971de16a2ab9c19420fd4
|
File details
Details for the file crcutil-2.0.4-py3-none-any.whl.
File metadata
- Download URL: crcutil-2.0.4-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0312328f935626181d521c3b547ef4539eb143ccb5190744389d6ecf10cfa6b
|
|
| MD5 |
3be43c8e21e17f254658694fba14be1f
|
|
| BLAKE2b-256 |
8b9bcec3ee2b1abf60c8d5ce8e887908a08d565d2f2a3a981e6323a21ec317e6
|