summaryrefslogtreecommitdiff
path: root/packsize
diff options
context:
space:
mode:
Diffstat (limited to 'packsize')
-rwxr-xr-xpacksize1
1 files changed, 1 insertions, 0 deletions
diff --git a/packsize b/packsize
index 0aa3fdc..e725447 100755
--- a/packsize
+++ b/packsize
@@ -1,3 +1,4 @@
#!/bin/sh
+# List all installed packages and list them by their size.
dpkg-query -W --showformat='${Package} ${Installed-Size}\n' | sort -k2 -n -r