Skip to content

Way to clear items from pip cache of specified age. #8355

Closed
@stuaxo

Description

@stuaxo

I use pip a lot and had never considered anything about caching, and find I have a 1.7gb pip cache.

It would be useful if there was a command that could clear it of items beyond a specified age.

That way I could could create a script to run every day to delete anything in pip that is older than a month (and to do the same for unrelated things like yarn etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: cacheDealing with cache and files in ittype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions