Skip to content

plavpixel/zkpurge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkpurge

minimal C-lang utility to purge old ZFSBootMenu executables
based on Void's vkpurge(8)

Compiling

Clone the repo:

git clone [https://github.com/plavpixel/zkpurge.git](https://github.com/plavpixel/zkpurge.git) && cd zkpurge

Build:

make

Install:

sudo make install

Uninstall:

sudo make uninstall

Usage

# list available kernels
zkpurge -l

# remove a specific version
sudo zkpurge -r 3.1.0_1

# remove all except latest and pinned
sudo zkpurge -r all

Options

  • -l, --list: List available ZBM kernels.
  • -r, --remove: Remove kernels (requires target).
  • -v, --version: Show version and attribution.
  • -h, --help: Show usage help.

Environment Overrides

  • ZBM_PATH: Override auto-detected directory.
  • ZBM_PROTECT: Version string to keep during -r all.

License

Public Domain

About

utility to purge old ZFSBootMenu executables

Topics

Resources

License

Stars

Watchers

Forks

Contributors