mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #153] no output on Windows #66
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thorstenkampe on GitHub (Jun 23, 2021).
Original GitHub issue: https://github.com/bootandy/dust/issues/153
The new version 0.6.0 shows no output on Windows while the previous one (0.5.4) does.
@bootandy commented on GitHub (Jun 23, 2021):
ok, lets work on this.
Which version of windows are you using?
Can you try different directories / Does it only happen with the root directory or networked folders?
Is there a problem with the permissions on the directory?
@thorstenkampe commented on GitHub (Jun 24, 2021):
I'm running Windows 10. I'll try a different root - outside my Cygwin home directory - tomorrow. The computer in question is part of an Active Directory domain. On my home machine the issue does not occur.
@jocwurs commented on GitHub (Oct 6, 2021):
On Windows dust only counts directories without the Archive attribute.
After running "$attrib /s /d -a *" dust shows all directories.
I am using dust 0.7.0 on Windows 10 1909.
@bootandy commented on GitHub (Oct 11, 2021):
thanks, @jocwurs that's useful, perhaps we can patch up the file walker to handle this.
https://github.com/bootandy/dust/blob/master/src/platform.rs#L106
I guess it is in this function. But I don't currently have a windows machine so I'm not comfortable fixing it myself.
@bootandy commented on GitHub (Feb 27, 2022):
https://github.com/bootandy/dust/releases/tag/v0.8.1-alpha.2
I don't know what the root cause of this but if it is because of the archive Attribute then I removed it with this alpha release. Can a windows user who is seeing this issue try the above alpha2 release and tell me if it fixes the problem? If it does I'll merge it into master.
Thanks,
@thorstenkampe commented on GitHub (Feb 28, 2022):
No change with
Dust 0.8.1-alpha.2@nico-abram commented on GitHub (Apr 30, 2022):
Sent a pull request that seems to fix it in https://github.com/bootandy/dust/pull/218
@mrbrianevans commented on GitHub (Jun 22, 2022):
I am on version 0.8.0 and also getting this error. No output on windows 10.
Example:
I can assure you that there are plenty of files in my downloads folder, but running the command doesn't print any output. It takes a long to time to run, and CPU is at 100% usage, so its definitely doing something, just not outputing results.
It does seem to work if I run dust on a specific file, such as this:
but doesn't work if I run it on a folder/directory.
I am not (knowingly) using archive or network storage. This is just the default regular windows downloads folder.
If #218 fixed this, how can I install it using Cargo? I tried
cargo install du-dustwhich installeddu-dust v0.8.0.@bootandy commented on GitHub (Jun 29, 2022):
I'll push out a new release soon, that will include the fix.
otherwise you can download the alpha build here: https://github.com/bootandy/dust/releases/tag/v0.8.1-alpha.2