readme
This commit is contained in:
parent
94945925a4
commit
fb45c82625
30
README.md
30
README.md
@ -8,10 +8,10 @@ chkbit is a tool that ensures the safety of your files by checking if their *dat
|
|||||||
|
|
||||||
- [How it works](#how-it-works)
|
- [How it works](#how-it-works)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [chkbit as a Go module](#chkbit-as-a-go-module)
|
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
- [Repair](#repair)
|
- [Repair](#repair)
|
||||||
- [Ignore files](#ignore-files)
|
- [Ignore files](#ignore-files)
|
||||||
|
- [chkbit as a Go module](#chkbit-as-a-go-module)
|
||||||
- [FAQ](#faq)
|
- [FAQ](#faq)
|
||||||
|
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Building from the source requires Go.
|
|||||||
- Either install it directly
|
- Either install it directly
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go install github.com/laktak/chkbit@latest
|
go install github.com/laktak/chkbit/v5/cmd/chkbit@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
- or clone and build
|
- or clone and build
|
||||||
@ -58,22 +58,11 @@ go install github.com/laktak/chkbit@latest
|
|||||||
```shell
|
```shell
|
||||||
git clone https://github.com/laktak/chkbit
|
git clone https://github.com/laktak/chkbit
|
||||||
chkbit/scripts/build
|
chkbit/scripts/build
|
||||||
# output is here:
|
# binary:
|
||||||
chkbit/chkbit
|
ls -l chkbit/chkbit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## chkbit as a Go module
|
|
||||||
|
|
||||||
chkbit is can also be used in other Go programs.
|
|
||||||
|
|
||||||
```
|
|
||||||
go get github.com/laktak/chkbit
|
|
||||||
```
|
|
||||||
|
|
||||||
For more information see the linked documentation on [pkg.go.dev](https://pkg.go.dev/github.com/laktak/chkbit).
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run `chkbit -u PATH` to create/update the chkbit index.
|
Run `chkbit -u PATH` to create/update the chkbit index.
|
||||||
@ -163,6 +152,17 @@ Add a `.chkbitignore` file containing the names of the files/directories you wis
|
|||||||
- hidden files (starting with a `.`) are ignored by default
|
- hidden files (starting with a `.`) are ignored by default
|
||||||
|
|
||||||
|
|
||||||
|
## chkbit as a Go module
|
||||||
|
|
||||||
|
chkbit is can also be used in other Go programs.
|
||||||
|
|
||||||
|
```
|
||||||
|
go get github.com/laktak/chkbit/v5
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information see the documentation on [pkg.go.dev](https://pkg.go.dev/github.com/laktak/chkbit/v5).
|
||||||
|
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
### Should I run `chkbit` on my whole drive?
|
### Should I run `chkbit` on my whole drive?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user