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

[BUG] Wrong scan results #78

Closed
roojay520 opened this issue Jun 12, 2020 · 4 comments
Closed

[BUG] Wrong scan results #78

roojay520 opened this issue Jun 12, 2020 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@roojay520
Copy link

Describe the bug
My MAC only has 500 GB of hard disk 😅
image

  • OS: macOS 10.14.6
  • Version: v0.7.1
@LosYear
Copy link

LosYear commented Jun 13, 2020

I have the same issue

@danielpox
Copy link

Same here. 500 GB SSD but it says I have 990 GB of releasable space!

@danielpox
Copy link

I found a way to circumvent this! The problem, as also depicted in the screenshot above, is that it for some reason includes the current directory as a whole, and even all parent directories up to the user directory.

To prevent this you can try adding these parameters: -d . (in context npx npkill -d .), which explicitly tells npkill to look in this very directory and downwards. It worked for me, and didn't include my entire user directory!

@zaldih
Copy link
Member

zaldih commented Apr 3, 2021

Hey @danielpox good discovery!!!
It seems that all the problems some users have related to the spacing issue is caused by that (but you couldn't tell unless you used the --sort size parameter to make it clearly visible).

This same issue is open here #40 , so I'll close this one to focus the discussion there.

@zaldih zaldih added the duplicate This issue or pull request already exists label Apr 3, 2021
@zaldih zaldih closed this as completed Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants