@liw@toot.liw.fi
I rewrote a one-line shell script of mine as a Rust program. This is silly, of course. The shell script is part of a bunch of small scripts of mine that I've packaged as a deb package. I want to get rid of that.
OTOH, with Rust, clap, and serde, it was easy to add optional JSON output. So there's that. I also don't like shell.
The script wasn't even one line, there was some scaffolding around
find "$dir" -printf x | wc -c
https://app.radicle.xyz/nodes/radicle.liw.fi/rad%3AzFTqZ3gCdUBCYwjsQ4vAeUNCNMTM