I started to work on a pacman hook and his prune script.
https://github.com/eoli3n/zectl-pacman-hook
I get into some little problems which could be fixed by some zectl query arguments.
Would you check TOFIX lines and tell me what's possible or not ? (It's not usable as is, just a POC to show the idea).
https://github.com/eoli3n/zectl-pacman-hook/blob/master/zectl-prune.sh#L4
Maybe you should consider managing prune subcommand in zectl ?
Something like borg prune would be great : https://github.com/eoli3n/dotfiles/blob/wayland/roles/borgbackup/files/backup#L34
See you.
I started to work on a pacman hook and his prune script.
https://github.com/eoli3n/zectl-pacman-hook
I get into some little problems which could be fixed by some zectl query arguments.
Would you check
TOFIXlines and tell me what's possible or not ? (It's not usable as is, just a POC to show the idea).https://github.com/eoli3n/zectl-pacman-hook/blob/master/zectl-prune.sh#L4
Maybe you should consider managing
prunesubcommand inzectl?Something like
borg prunewould be great : https://github.com/eoli3n/dotfiles/blob/wayland/roles/borgbackup/files/backup#L34See you.