BIG-RAT / Prune

Remove unused items from your Jamf server
MIT License
163 stars 9 forks source link

Feature Request: Filter by Category #45

Open moose-juice opened 3 weeks ago

moose-juice commented 3 weeks ago

Please add a feature to filter objects by their categories, so we can use Prune to delete only unused objects within a specified category.

We move objects (policies, profiles, etc.) into specific categories to flag them for deletion. Prune does not support filtering objects by their category, and therefore when we want to delete only objects that belong to a category we have to use other scripts/solutions.

It would be appreciated to add filtering based on categories. Rich Trouton has developed some scripts that do something similar and may be helpful: https://github.com/rtrouton/rtrouton_scripts/tree/main/rtrouton_scripts/Casper_Scripts