dist
This commit is contained in:
parent
04803c6714
commit
ff6b3e2fad
22
README.md
22
README.md
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
chkbit is a lightweight tool to check the data integrity of your files. It allows you to verify *that the data has not changed* since you put it there and that it is still the same when you move it somewhere else.
|
chkbit is a lightweight tool to check the data integrity of your files. It allows you to verify *that the data has not changed* since you put it there and that it is still the same when you move it somewhere else.
|
||||||
|
|
||||||
|
cross-platform support for [Linux, macOS and Windows](https://github.com/laktak/chkbit-py/releases)!
|
||||||
|
|
||||||
- [Use it](#use-it)
|
- [Use it](#use-it)
|
||||||
- [On your Disk](#on-your-disk)
|
- [On your Disk](#on-your-disk)
|
||||||
- [On your Backup](#on-your-backup)
|
- [On your Backup](#on-your-backup)
|
||||||
@ -47,19 +49,12 @@ Some cloud providers re-encode your videos or compress your images to save space
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The easiest way to install python CLI tools is with [pipx](https://pipx.pypa.io/latest/installation/).
|
Download: You can download a release directly from [github releases](https://github.com/laktak/chkbit-py/releases).
|
||||||
|
|
||||||
```
|
If you OS/platform is not yet supported you can also use either [pipx](https://pipx.pypa.io/latest/installation/) or pip:
|
||||||
pipx install chkbit
|
|
||||||
```
|
|
||||||
|
|
||||||
You can also use pip:
|
- `pipx install chkbit`
|
||||||
|
- `pip install --user chkbit`
|
||||||
```
|
|
||||||
pip install --user chkbit
|
|
||||||
```
|
|
||||||
|
|
||||||
**NOTE** version 3 now uses the blake3 hash algorithm by default as it is not only better but also faster than md5.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -169,7 +164,7 @@ When you run it again it first checks the modification time,
|
|||||||
- if the time changed (because you made an edit) it records a new hash.
|
- if the time changed (because you made an edit) it records a new hash.
|
||||||
- otherwise it will compare the current hash to the recorded value and report an error if they do not match.
|
- otherwise it will compare the current hash to the recorded value and report an error if they do not match.
|
||||||
|
|
||||||
### I wish to use a stronger hash algorithm
|
### I wish to use a different hash algorithm
|
||||||
|
|
||||||
chkbit now uses blake3 by default. You can also specify `--algo sha512` or `--algo md5`.
|
chkbit now uses blake3 by default. You can also specify `--algo sha512` or `--algo md5`.
|
||||||
|
|
||||||
@ -187,7 +182,7 @@ and add `-delete` to delete.
|
|||||||
|
|
||||||
### Can I test if chkbit is working correctly?
|
### Can I test if chkbit is working correctly?
|
||||||
|
|
||||||
On Linux/OS X you can try:
|
On Linux/macOS you can try:
|
||||||
|
|
||||||
Create test and set the modified time:
|
Create test and set the modified time:
|
||||||
```
|
```
|
||||||
@ -262,3 +257,4 @@ You can then install your own package with
|
|||||||
pipx install dist/chkbit-*.tar.gz
|
pipx install dist/chkbit-*.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The binaries are created using pyinstaller via Github actions.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "chkbit"
|
name = "chkbit"
|
||||||
version = "4.0.0"
|
version = "4.1.0"
|
||||||
description = "chkbit checks the data integrity of your files"
|
description = "chkbit checks the data integrity of your files"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Christian Zangl", email = "laktak@cdak.net"},
|
{name = "Christian Zangl", email = "laktak@cdak.net"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user