From 9448d1fda6add12c71d95ebc9474b3109c86bd3f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 13 Jan 2015 11:00:39 +0100 Subject: add xhog --- README | 1 + xhog | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 xhog 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 -- cgit 1.4.1