update links for legdur

This commit is contained in:
Cyryl Płotnicki 2023-08-27 08:19:59 +01:00
parent 13e166e862
commit 3b140ce4a0
2 changed files with 10 additions and 8 deletions

View file

@ -3,7 +3,7 @@ title: "Projects"
date: 2022-10-30
---
- [legdur](https://sr.ht/~cyplo/legdur/) - legdur is a simple CLI program to compute hashes of large sets of files in large directory structures and compare them with a previous snapshot. Think having your photo collection you acquired over time and worrying about bitrot.
- [legdur](https://git.cyplo.dev/cyplo/legdur) - legdur is a simple CLI program to compute hashes of large sets of files in large directory structures and compare them with a previous snapshot. Think having your photo collection you acquired over time and worrying about bitrot.
- [genpass](https://git.cyplo.dev/cyplo/genpass) - A simple yet robust commandline random password generator written in Rust. Has an extensive generative test suite, including tests against a Rust port of Dropbox's password strength tester zxcvbn.
- [netlify deployer](https://pypi.org/project/netlify-deployer/) - A Python CLI tool to deploy a website to Netlify using their incremental API client. Not the best code but works like a charm.
- [my dotfiles](https://git.cyplo.dev/cyplo/dotfiles) - all of the settings for all of my machines, automated using Nix

View file

@ -9,7 +9,7 @@ I have a collection of photos & documents that I really care about.
I synch them between computers using syncthing and also run backups regularly.
What I didn't have was a way to quickly detect bitrot.
Enter [legdur](https://lib.rs/crates/legdur)
Enter [legdur](https://git.cyplo.dev/cyplo/legdur)
`legdur` is a simple CLI program to compute hashes of large sets of files in large directory structures and compare them with a previous snapshot.
Think having your photo collection you acquired over time and worrying about bitrot.
@ -18,6 +18,11 @@ Think having your photo collection you acquired over time and worrying about bit
`cargo install legdur --force` should get you there on a system that has Rust installed already.
## Try it out without installation
If you have a nix-flakes enabled system:
`nix run git+https://git.cyplo.dev/cyplo/legdur.git`
## Usage
`legdur path/to/a/directory/`
@ -42,15 +47,12 @@ finished:
## How it works
* it will compute a hash of each file present in the directory structure (it works recursively).
* if previously computed `legdur.db` exists it will compare the current state of the world to the one represented by `legdur.db` and output any differences. Only files that changed or got deleted get printed out, additions are not.
* if previously computed `legdur.db` exists it will compare the current state of the world to the one represented by `legdur.db` and output any differences. Only files that changed or got deleted get printed out, additions or file moves anywhere within the directory are not.
* it will move the current `legdur.db` to `legdur.old` and write the new state of the world to a new `legdur.db`
## Contact & contributions
* Let me know if you'd like to hack on this by contacting me on `legdur@cyplo.dev` or via `cyplo@todon.nl` on Mastodon.
* Discuss on [lobsters](https://lobste.rs/s/klljdd/legdur_keep_your_legacy_durable)
* Let me know if you'd like to hack on this by contacting me on `legdur@cyplo.dev` or via `cyplo@peninsula.industries` on the Fediverse.
## Sources
`hg clone https://hg.sr.ht/~cyplo/legdur`
`git clone https://git.cyplo.dev/cyplo/legdur.git`