Freeing up space on HD

Jima jima at beer.tclug.org
Tue May 31 11:28:45 MDT 2005


On Tue, 31 May 2005, Robert Story wrote:
> Here is a little script I have, that lists RPMs by size, so you can see who the
> space hogs are, and remove them. Not terribly efficient, but it works for me..

 I've done this, too.  Bit of a shortcut:

rpm -qa --qf="%{size}\t%{name}\n" | sort -rn | less

 --qf = query format; only show the information you care about.  I use 
this for all sorts of automated queries. :)

     Jima



More information about the yellowdog-general mailing list