cmd/unused: add -filter flag
inkel opened this issue · comments
Add a -filter=key=value
flag to cmd/unused
that allows filtering disks by metadata. This could be passed several times to indicate more than filter.
Change this will also imply adding a unused#Meta.Match(key, value string) bool
function or similar.