https://github.com/rjkroege/kopiaindexer
https://github.com/rjkroege/kopiaindexer
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rjkroege/kopiaindexer
- Owner: rjkroege
- Created: 2023-06-23T14:32:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T23:23:47.000Z (almost 2 years ago)
- Last Synced: 2025-02-27T09:09:38.168Z (8 months ago)
- Language: Go
- Size: 71.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tools for indexing a [Kopia](https://kopia.io/) repository
# HowTo
```shell
export KOPIAINDEXER=$HOME/kopiaindexer
# Build the index (be patient)
mk -f $KOPIAINDEXER/mkfile
```
or in `rc`:
```shell
KOPIAINDEXER=$_h/tools/kopiaindexer mk -f $KOPIAINDEXER/mkfile
```
# Lister
Lister is a helper tool to create a well-structured listing of all
files in a Kopia repository. This listing has the following structure:
## Columns
* filehash
* prefix
* snapshot hash
* path
## Data Format Constraints
* URL escape the textual fields (prefix, path)
* space separate the columns. A space character is
an adequate separator because of the URL escaping.
* terminate each row with a newline