From 88eefd2c1ee0b16898eef4fb370cf49f8600b957 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Wed, 3 Jun 2026 05:43:07 +0200 Subject: [PATCH] CMD: read sizes --- command.rec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/command.rec b/command.rec index bba71fe..bb0103d 100644 --- a/command.rec +++ b/command.rec @@ -200,6 +200,13 @@ shell: sh bin: fzf tag: comfy +aim: Read the minimal size of a git repo +cmd: git count-objects -vH | grep -Po 'size-pack: \K.*' +note: Git repositories are never at their minimal size. +shell: sh +bin: git +tag: size + aim: Email a pull request which points to your git server tag: git shell: sh @@ -422,6 +429,13 @@ bin: ntpd tag: time tag: system +aim: Convert bytes to human readable size +cmd: b=10392309 ++ echo "$b" | numfmt --to=eic +shell: sh +bin: numfmt +tag: size + aim: Uncompress a PDF cmd: pdftk ${input}.pdf output ${output}.pdf uncompress shell: sh