du output inspection utility
Go to file
Harald Göttlicher cd0ddface2
Update README.md
2023-05-02 14:48:42 +02:00
LICENSE Initial commit 2013-07-31 11:45:23 -07:00
README.md Update README.md 2023-05-02 14:48:42 +02:00
tkdu.py ported to Python 3 2022-09-02 23:13:40 +02:00

tkdu

Fork of Jeff Epler's tkdu program to visualize disk usage and du output

Ported version for Python 3

See original version here or on its website.

Usage:

  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
  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:

  • Press q to quit
  • left mouse buton: zoom in to item
  • right mouse button: zoom out one level
  • Press 1..9: Show that many nested levels
  • Press 0: Show man nested levels