aleksaan / diskusage Goto Github PK
View Code? Open in Web Editor NEWDuck is a very fast utility to find largest directories or files
License: MIT License
Duck is a very fast utility to find largest directories or files
License: MIT License
It would be nice to control order by some field. I can see it defaults to size decreasingly, but I would want by name, as seen in my explorer window.
Also, if it isn't yet a feature, would -limit 0 be limitless?
Target: Get CSV file for most comfortly working with results
To do:
Hi,
I'm using diskusage.exe for more than one year to monitor most consumming directories. It is very simple and handy tool.
However while scanning of one my disk (with logs) containing:
Overall info:
Total time: 4h35m55.7915268s
Total dirs: 499520
Total files: 8887953
Total links: 0
Total size: 10.45 Tb
diskusage.exe (on Windows 64bit) consumes more than 3GB of RAM. It tooks also more than 4 hours.
Is there some way how to optimize at least - memory consumption or also the time needed?
Jurajazz
All we need is log
i set fixunit ,but it not work, this is my options:
analyzer:
path: D:\test
depth: 1
printer:
limit: 0
fixunit: Mb
sort: name_asc
tofile: diskusage_out.txt
Results:`
Maybe some charset conversion is needed? How could I replace all invalid characters in my result.txt with a cmd command? which charset was chosen?
Sergey Glaznitsa: Do not render excess results.
Example of current results (limit=2):
C:\a - 100Mb
C:\a\b - 99Mb
(C:\x - 30Mb - do not output because is less than a & b folders.)
Output has two rows with the same folder. However folder c:\a contains (without C:\a\b) only 1Mb of its 100Mb volume. Only 1% of volume. And folder C:\a\b contains 99% of volume.
It is not nessesary to output c:\a volume in this case.
Results should be like that:
C:\a\b - 99Mb
C:\x - 30Mb
(C:\a - 100Mb - do not output because its "clean" size (without C:\a\b) only 1Mb and other 99Mb has been printed yet above for c:\a\b folder)
Second example:
C:\a - 100Mb (clean size is 51Mb)
C:\a\b - 49Mb
(C:\x - 30Mb - do not output because is less than a (clean size) & b size)
C:\a "clean" volume (without C:\a\b) is 51Mb and that is reason to include c:\a to results.
Just discovered this from StackOverflow and I'm impressed with the speed of this versus using dir
or Get-ChildItem
.
However, for my use case, I simply want to print out all the files and folders in a nice table with sizes in human-friendly values (kB, MB, GB, etc.).
The -hr
switch works great, but it cuts off the results after a certain number of rows and only shows the last row after that. Looking at the code, it's after 48 rows.
Is there a planned feature to allow for all rows to be shown in -hr
mode? It's bit a of a shame that the options are so few for what seems like a great tool :)
Side note: sometimes the first few letters are omitted from folders, like ode_modules
instead of \node_modules
. Am I doing something wrong?
This tool works great to index the largest folders. Are you planning to add a function to do the same for files, so it is possible to find the largest files on a drive in the same format?
Will you create graphical user interface ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.