[EMAIL PROTECTED] (Bruno Boettcher) writes:
> is there a way to find out which packages are taking up how much space?

export COLUMNS=150; for i in $(dpkg -l "*" |egrep '^i'|awk '{print $2}'); do echo -n 
"$i: "; dpkg -s $i |egrep "^Installed-Size" |sed -e 's/Installed-Size://'; done |sort 
-grk 2 

This will get you a sorted list of what is installed and how much
space their Installed-Size.

A more experienced deb can probably suggest a better way, dpkg and her
ilk are mighty, this was off the cuff...



-jereme

-- 
+--------------------------------------------------------------+
Jereme Corrado <[EMAIL PROTECTED]>
System Administrator
Restorative Management Corp.

gpg: 1024D/9C39E1F0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to