[GH-ISSUE #326] dust in a deleted/missing directory outputs a different dir #142

Closed
opened 2026-06-08 11:25:52 +03:00 by zhus · 4 comments
Owner

Originally created by @lesleyrs on GitHub (May 7, 2023).
Original GitHub issue: https://github.com/bootandy/dust/issues/326

I was expecting it to give an error, but instead it shows a completely different directory (in my case it's the default dir, not sure exactly what it's doing). This is on windows.

Thx for this tool btw, helped me clean my ssd as the official windows tools don't show hidden files which is fair I guess.

Originally created by @lesleyrs on GitHub (May 7, 2023). Original GitHub issue: https://github.com/bootandy/dust/issues/326 I was expecting it to give an error, but instead it shows a completely different directory (in my case it's the default dir, not sure exactly what it's doing). This is on windows. Thx for this tool btw, helped me clean my ssd as the official windows tools don't show hidden files which is fair I guess.
zhus closed this issue 2026-06-08 11:25:52 +03:00
Author
Owner

@bootandy commented on GitHub (May 7, 2023):

Are you running dust in the directory after you have deleted the directory ?

<!-- gh-comment-id:1537532244 --> @bootandy commented on GitHub (May 7, 2023): Are you running dust in the directory after you have deleted the directory ?
Author
Owner

@lesleyrs commented on GitHub (May 7, 2023):

Yes, by deleting it in file explorer instead of the terminal. I think this causes it to output the default starting directory, I'd prefer just an error message.

<!-- gh-comment-id:1537534518 --> @lesleyrs commented on GitHub (May 7, 2023): Yes, by deleting it in file explorer instead of the terminal. I think this causes it to output the default starting directory, I'd prefer just an error message.
Author
Owner

@bootandy commented on GitHub (May 8, 2023):

I'm not sure that's going to be possible.

what happens if you run dust on a directory that doesn't exist in windows:

dust C:\THIS_DOES_NOT_EXIST/\

?

<!-- gh-comment-id:1538822861 --> @bootandy commented on GitHub (May 8, 2023): I'm not sure that's going to be possible. what happens if you run dust on a directory that doesn't exist in windows: dust C:\THIS_DOES_NOT_EXIST/\ ?
Author
Owner

@lesleyrs commented on GitHub (May 8, 2023):

If it's not going to work feel free to close, it's not a big deal but would just be a little improvement.

It shows

Did not have permissions for all directories

<!-- gh-comment-id:1538842853 --> @lesleyrs commented on GitHub (May 8, 2023): If it's not going to work feel free to close, it's not a big deal but would just be a little improvement. It shows >Did not have permissions for all directories
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#142