-
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed as not planned
Description
Hey, first time trying diskus, and while I can confirm that it's really fast here as well, I get a different result in total bytes on a local directory. 😕
I've noticed the Windows caveat section, but I don't think that this applies in my case here, because there is noting unusual in this path, no junctions, or hardlinks whatsoever.
To be sure, I've tested the same path with some other tools, like the Python based duu1, another one implemented in Rust found here on GitHub (dua2), as well as the Sysinternals Disk Usage (du3) tool for Windows for reference.
diskus
PS E:\> diskus Down
101.90 GB (101,896,640,783 bytes)
PS E:\> cd Down
PS E:\Down> diskus .
101.90 GB (101,896,640,783 bytes)
PS E:\Down>
Here's the comparison:
duu
PS E:\Down> duu --quiet
summary
=======
files : 3'919
directories : 125
bytes : 101'895'657'743
kilobytes : 99'507'478.26
megabytes : 97'175.27
gigabytes : 94.90
PS E:\Down>
dua
PS E:\Down> dua --format bytes '.'
101895657743 b . entries
PS E:\Down> '{0:N0}' -f 101895657743
101'895'657'743
PS E:\Down>
du
PS E:\Down> du E:\Down
Files: 3919
Directories: 125
Size: 101'895'657'743 bytes
Size on disk: 101'904'261'120 bytes
PS E:\Down>
And last but not least, the total value in bytes as displayed in Windows Explorer: 94.8 GB (101'895'657'743 bytes)
OS information:
PS E:\Down> [Environment]::OSVersion.VersionString
Microsoft Windows NT 10.0.19043.0
PS E:\Down> Get-WindowsVersion | select Version, OS* | fl
Version : 2009
OS Build : 19043.1526
PS E:\Down>
Footnotes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels