Skip to content

delete by --older-than flag #257

Description

@eyueldk

Is your feature request related to a problem? Please describe.
User should be able to delete node_modules that have not been accessed for over X days. The reason for this I usually have old projects/experiments I abandon and they're just taking up space for no reason.

Describe the solution you'd like
Add a --older-than {X days} flag. I was inspired by (killpy)[https://github.com/Tlaloc-Es/killpy]

Describe alternatives you've considered
I'll run a script to filter folders that have not been accessed for X days, then I'll call npkill on each one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions