tkdu/README.md

29 lines
1019 B
Markdown
Raw Normal View History

2013-07-31 18:45:23 +00:00
tkdu
====
Fork of Jeff Epler's tkdu program to visualize disk usage and `du` output
2013-07-31 18:49:29 +00:00
2022-09-02 21:14:53 +00:00
Ported version for Python 3
2013-07-31 18:49:29 +00:00
See original version [here](https://github.com/daniel-beck/tkdu/commit/55ef0278c58b5a03687180bb5e5722fa3a22d7a5) or [on its website](http://www.unpythonic.net/jeff/tkdu/).
Usage:
```
2023-04-14 08:24:56 +00:00
tkdu.py <file.gz> interpret file as gzipped `du -ak` output and visualize it
tkdu.py <file> interpret file as `du -ak > <file>` output and visualize it
tkdu.py <folder> analyze disk usage in that folder
tkdu.py - interpret stdin input as du -ak output and visualize it
2023-04-14 08:24:56 +00:00
tkdu.py ask for folder to analyze (only works for folders!)
```
Example for a gzipped input with timestamp in the file name:
2023-05-02 12:48:42 +00:00
`time du -ak /my-main-dir | gzip > du.log-$( date +%Y%m%d-%H%M%S ).gz`
Controls:
* Press `q` to quit
2023-04-14 08:24:56 +00:00
* left mouse buton: zoom in to item
* right mouse button: zoom out one level
* Press `1`..`9`: Show that many nested levels
2023-05-02 13:02:14 +00:00
* Press `0`: Show max nested levels