Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend exclude option to handle timestamps #76

Closed
cycle4passion opened this issue Apr 17, 2020 · 1 comment
Closed

Extend exclude option to handle timestamps #76

cycle4passion opened this issue Apr 17, 2020 · 1 comment

Comments

@cycle4passion
Copy link

Currently

-E, --exclude option accepts directories quotes to exclude. It would be nice to be able to do

-E 30

Which would exclude any N_M dirs with modifications of any enclosed files in the last 30 days. This would be a nice way not to npkill active work.

@zaldih
Copy link
Member

zaldih commented Oct 10, 2022

I have only recently started working on it!
However I think the correct approach is somewhat more complex: look for when the most recent file was edited in the workspace (and not just the node_module).

That's why the filtering will be done on node instead of directly on the find command

#64 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants