Tuesday, April 27, 2010

linux: sort installed packages in increasing order of size

rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1 -n
FINALLY!
WORKS LIKE A CHARM!

source: http://www.pixelbeat.org/docs/packaging.html

No comments: