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/ ).
2016-08-28 22:23:54 +00:00
Usage:
2023-05-02 12:48:22 +00:00
```
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
2016-08-28 22:23:54 +00:00
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!)
2023-05-02 12:48:22 +00:00
```
Example for a gzipped input with timestamp in the file name:
2023-05-02 12:48:42 +00:00
2023-05-02 12:48:22 +00:00
`time du -ak /my-main-dir | gzip > du.log-$( date +%Y%m%d-%H%M%S ).gz`
2016-08-28 22:23:54 +00:00
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
2016-08-28 22:23:54 +00:00
* Press `1` ..`9`: Show that many nested levels
* Press `0` : Show man nested levels