A collection of system utility tools I wrote for myself. shared so others can use or modify them as needed.
Bulk-deletes snapper snapshots (except the current 0 snapshot),
with a safety prompt and chunked deletion.Requires root and the snapper CLI.
sudo ./bin/snapper-cleaner/snapper-cleanerThe Makefile handles builds. Each tool gets its own build target,
And the build target (run by plain make) grows as new tools are added.
make # builds everything (all tools)
make build-snapper-cleaner # build just snapper-cleanerIf another tool is added, it gets its own build-<tool> target and is added
to build's dependencies. Binaries go in bin/.
You can install the compiled binaries to your system (defaults to /usr/local/bin).
Just like building, you can install or uninstall everything at once,
or target specific tools.
sudo make install # install everything
sudo make install-snapper-cleaner # install just snapper-cleaner
sudo make uninstall # uninstall everything
sudo make uninstall-snapper-cleaner # uninstall just snapper-cleanerYou can also customize the installation path using the PREFIX or DESTDIR variables,
which is useful for custom setups or package managers:
sudo make PREFIX=/usr install # installs to /usr/bin instead of /usr/local/binMIT