Update README.md

improve docs
This commit is contained in:
Harald Göttlicher 2023-04-14 10:24:56 +02:00 committed by GitHub
parent bab5ee68fd
commit 313c85a479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,16 +10,16 @@ See original version [here](https://github.com/daniel-beck/tkdu/commit/55ef0278c
``` ```
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 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 tkdu.py ask for folder to analyze (only works for folders!)
Controls: Controls:
* Press `q` to quit * Press `q` to quit
* LMB: zoom in to item * left mouse buton: zoom in to item
* RMB: 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
``` ```