add homebrew #11 #14

This commit is contained in:
Christian Zangl 2024-06-30 17:28:27 +02:00
parent 565415c0bc
commit 98bd3b2370
No known key found for this signature in database
GPG Key ID: 6D468AC36E2A4B3D

View File

@ -24,12 +24,19 @@ chkbit is a tool that ensures the safety of your files by checking if their *dat
Remember to always maintain multiple backups for comprehensive data protection.
## Installation
- Install via [Homebrew](https://formulae.brew.sh/formula/chkbit) for macOS and Linux:
```
brew install chkbit
```
- Download for [Linux, macOS or Windows](https://github.com/laktak/chkbit-py/releases).
- Get it with [pipx](https://pipx.pypa.io/latest/installation/): `pipx install chkbit`
- Get it with [pipx](https://pipx.pypa.io/latest/installation/)
```
pipx install chkbit
```
[Homebrew](https://brew.sh) is delayed until we reach their `>=75` stars rule.
## Usage
@ -87,6 +94,7 @@ Status codes:
chkbit is set to use only 5 workers by default so it will not slow your system to a crawl. You can specify a higher number to make it a lot faster if the IO throughput can also keep up.
## Repair
chkbit is designed to detect "damage". To repair your files you need to think ahead:
@ -96,6 +104,7 @@ chkbit is designed to detect "damage". To repair your files you need to think ah
- run chkbit *after* a backup on the backup media (readonly)
- in case of any issues, *restore* from a checked backup medium.
## Ignore files
Add a `.chkbitignore` file containing the names of the files/directories you wish to ignore
@ -111,6 +120,7 @@ Add a `.chkbitignore` file containing the names of the files/directories you wis
- you can use `path/sub/name` to ignore a file/directory in a sub path
- hidden files (starting with a `.`) are ignored by default
## FAQ
### Should I run `chkbit` on my whole drive?
@ -208,6 +218,7 @@ error: detected 1 file with damage!
`DMG` indicates damage.
## Development
With pipenv (install with `pipx install pipenv`):