Skip to content

[Feature request] Force cleaning uninstalled packages cache. #18

@D33M0N

Description

@D33M0N

Since yaycache -ruk0 --remove-build-files leaves a lot of clutter into .cache/yay/<package> for most uninstalled AUR packages, for example like .git and PKGBUILD and .SRCINFO etc etc., would it be possible to implement some cleaner option, like --force-remove-cache or --remove-cache-subfolders or something creative, so basically:
yaycache -ruk0 --force-remove-cache would nuke any .cache/yay/<package> folder for every uninstalled <package>, so the .cache/yay folder itself gets cleaned from all the uninstalled package subfolders. No need to sort every file one by one and by date and time or whatever... just nuke all the subfolders entirely.

Right now there's a subfolder for every single package I have installed through yay and AUR regardless if it was deleted several years ago or not. I would like those subfolders gone. clean. good riddance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions