CMD: read sizes

This commit is contained in:
2026-06-03 05:43:07 +02:00
parent 54e4cc5149
commit 88eefd2c1e
+14
View File
@@ -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