80 Commits

Author SHA1 Message Date
Neel Chotai 26ae050f16 use LS_COLORS for directories 2020-03-01 00:51:32 +00:00
andy.boot 02fa657128 Update readme 2020-02-20 20:36:35 +00:00
andy.boot 603e6be7eb Large redesign
Use the whole width of the terminal assume width of 80 if none found

Show percentages in the final column. Show ASCII bars indicating usage
of the underlying directories in the space inbetween.

Display (height of terminal - 10) entries by default.

Reverse the output order so largest is at the bottom.

Break up tests. Change older tests to check real output of program.
2020-02-18 20:58:53 +00:00
andy.boot c408d8887d Update docs for -X flag.
-X flag changed subtly with previous pull request. It now requires a
directory name and doesn't work on substrings.
2020-02-09 14:10:53 +00:00
andy.boot 75e419e7ed Update README.md
Remove section on performance, I can not replicate this and don't want to cause controversy.
2020-02-03 20:54:19 +00:00
andy.boot 4a62fc5726 Update README.md
include dutree in alternatives
2020-02-03 20:52:12 +00:00
andy boot bc895879e6 Update README.md 2020-01-20 23:36:59 +00:00
andy boot 31f01c061a Update README.md 2020-01-19 09:55:51 +00:00
Xavier L'Heureux bf28d42483 Update Performance section of README 2019-11-26 08:31:52 -05:00
andy.boot 6ab46d8471 Add reverse instructions 2019-10-08 22:46:52 +01:00
andy boot 65cd42736a Update README.md 2018-05-09 09:43:30 +01:00
andy.boot 8170a07886 Increase default to 20 from 15
Clean up README a bit.
2018-04-27 10:23:20 +01:00
andy.boot 803934d84b By default only print last leaf of path
Fixes #9
https://github.com/bootandy/dust/issues/9

Instead of printing the all sub tree leaves only the last leaf is now
printed. See readme change for example

The flag '-p' was added to print the sub tree the old way
2018-04-24 14:54:11 +01:00
andy.boot 24c97ef92f Rewrite to use walkdir instead of recursion
Advised to use walkdir by burntsushi as using recursion on file systems
can blow the stack.

walkdir is slower but allows the code to be cleaner and more reliable

Also experimented with ignore but locking the hashmap resulted in
similar performance to walkdir but with much uglier code.
2018-04-24 14:53:47 +01:00
andy boot 270edf0a76 Update README.md 2018-04-18 13:49:05 +01:00
andy boot 95e7bb01eb Update README.md 2018-04-16 23:08:19 +01:00
andy boot 2eb1633b77 Update README.md 2018-04-07 11:53:55 +01:00
andy boot 3fd274ab36 Update README.md 2018-04-07 11:42:18 +01:00
andy boot f3ab902811 Update README.md 2018-04-07 11:38:21 +01:00
bootandy 2fe3943ed5 Update readme 2018-04-06 21:07:13 +01:00
bootandy 69c79d5f95 Update readme 2018-04-04 20:21:59 +01:00
bootandy 61ab0e8f96 Simplify build.
Just build mac and linux.
Remove appveyor file which was designed for windows.
2018-04-03 20:54:53 +01:00
bootandy 6a63cbe1bc fix: Dust was supposed to take multiple dir args
Dust will now work when given multiple dirs. Before this fix it would
only show the largest dir.
2018-04-03 17:54:45 +01:00
bootandy 8d98171b82 Update README 2018-04-03 17:17:04 +01:00
Joe Ardent aa963defda update sample output with new box-drawing characters 2018-03-20 22:50:54 -07:00
bootandy 32b653fe41 travis build file
no idea if this will work
2018-03-19 16:11:55 -04:00
bootandy ea0d9eba02 Update Readme 2018-03-19 12:04:00 -04:00
bootandy 9f5fe4d01e clean up 2018-03-16 16:14:09 -04:00
bootandy 8356cc6e1b hacking away on an experiment 2018-03-16 15:51:44 -04:00
andy boot 88a8d19511 Initial commit 2018-03-11 22:01:59 -04:00