Update README.md
example for gzip added
This commit is contained in:
parent
313c85a479
commit
5e0c4f508d
@ -8,13 +8,16 @@ Ported version for Python 3
|
|||||||
See original version [here](https://github.com/daniel-beck/tkdu/commit/55ef0278c58b5a03687180bb5e5722fa3a22d7a5) or [on its website](http://www.unpythonic.net/jeff/tkdu/).
|
See original version [here](https://github.com/daniel-beck/tkdu/commit/55ef0278c58b5a03687180bb5e5722fa3a22d7a5) or [on its website](http://www.unpythonic.net/jeff/tkdu/).
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
Usage:
|
Usage:
|
||||||
|
```
|
||||||
tkdu.py <file.gz> interpret file as gzipped `du -ak` output and visualize it
|
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 <file> interpret file as `du -ak > <file>` output and visualize it
|
||||||
tkdu.py <folder> analyze disk usage in that folder
|
tkdu.py <folder> analyze disk usage in that folder
|
||||||
tkdu.py - interpret stdin input as du -ak output and visualize it
|
tkdu.py - interpret stdin input as du -ak output and visualize it
|
||||||
tkdu.py ask for folder to analyze (only works for folders!)
|
tkdu.py ask for folder to analyze (only works for folders!)
|
||||||
|
```
|
||||||
|
Example for a gzipped input with timestamp in the file name:
|
||||||
|
`time du -ak /my-main-dir | gzip > du.log-$( date +%Y%m%d-%H%M%S ).gz`
|
||||||
|
|
||||||
Controls:
|
Controls:
|
||||||
* Press `q` to quit
|
* Press `q` to quit
|
||||||
@ -22,4 +25,3 @@ Controls:
|
|||||||
* right mouse button: zoom out one level
|
* right mouse button: zoom out one level
|
||||||
* Press `1`..`9`: Show that many nested levels
|
* Press `1`..`9`: Show that many nested levels
|
||||||
* Press `0`: Show man nested levels
|
* Press `0`: Show man nested levels
|
||||||
```
|
|
||||||
|
Loading…
Reference in New Issue
Block a user