mirror of
https://github.com/openeggbert/bit-backup.git
synced 2025-03-25 15:37:53 +01:00
README.md was improved
This commit is contained in:
parent
adc4f26a39
commit
c6c996339c
16
README.md
16
README.md
@ -10,8 +10,8 @@ It is inspired by:
|
|||||||
## How it works
|
## How it works
|
||||||
|
|
||||||
You go to a directory.
|
You go to a directory.
|
||||||
You run the command bin:
|
You run the command bir:
|
||||||
* All files in this directory are inspected, new files are added to the database.
|
* All files in this directory are inspected, new files are added to the database, deleted files are removed from the database.
|
||||||
* If the file last modification date in database and on the disk is the same, but the content checksum is different, then a bit rot is detected.
|
* If the file last modification date in database and on the disk is the same, but the content checksum is different, then a bit rot is detected.
|
||||||
|
|
||||||
## How to setup your environment on Linux
|
## How to setup your environment on Linux
|
||||||
@ -19,3 +19,15 @@ You run the command bin:
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
alias bir='java -jar /rv/data/desktop/code/code.nanoboot.org/nanoboot/bit-inspector/target/bir-inspector-0.0.0-SNAPSHOT-jar-with-dependencies.jar'
|
alias bir='java -jar /rv/data/desktop/code/code.nanoboot.org/nanoboot/bit-inspector/target/bir-inspector-0.0.0-SNAPSHOT-jar-with-dependencies.jar'
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
"Bit Inspector" creates an SQLite database - file ".bir.sqlite3" in the current directory.
|
||||||
|
|
||||||
|
There is also created the file ".bir.sqlite3.sha512", which contains the current hash sum of file ".bir.sqlite3".
|
||||||
|
|
||||||
|
You can create file .birignore containing the names of the files/directories you wish to ignore
|
||||||
|
* each line should contain exactly one name
|
||||||
|
* lines starting with # are skipped
|
||||||
|
* you may use Unix shell-style wildcards
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user