What package is eating up my disk space?

Posted on 2006-4-10 (月) at 11:18 pm by Florian Ragwitz [SIGNED]

Posted in: Hacking

Enrico, how about dpigs(1) from the debian-goodies package to solve your disk usage problem?

It's written in #!/bin/sh and not that nifty, but, if you omit the option parsing and usage code, it's even shorter. It basically does

grep-status -nsInstalled-size,Package -F Status ' installed' $STATUS \
| perl -p00l12 -e 's/\n/ /' \
| sort -rn \
| head --lines=$LINES



Navigation

Categories

Login