summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README1
-rwxr-xr-xxhog4
2 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index 7c2adc3..ae4ca4f 100644
--- a/README
+++ b/README
@@ -11,6 +11,7 @@ https://github.com/voidlinux/xbps
   xdowngrade PKGS.xbps... - install XBPS package directly from .xbps file
   xgensum [-i] TEMPLATE - update SHA256 sums in templates
   xgrep PATTERN PKGS... - search files limited to XBPS package contents
+  xhog - list installed XBPS packages ordered by size
   xlg PKG - open short commit log for XBPS template
   xlint TEMPLATE - scan XBPS template for common mistakes
   xlocate [-u | PATTERN] - locate files in all XBPS packages
diff --git a/xhog b/xhog
new file mode 100755
index 0000000..bebffbe
--- /dev/null
+++ b/xhog
@@ -0,0 +1,4 @@
+#!/bin/sh
+# xhog - list installed XBPS packages ordered by size
+
+xbps-query -p installed_size -s '' | sort -h -k2 | column -s: -t