CMD: read sizes
This commit is contained in:
+14
@@ -200,6 +200,13 @@ shell: sh
|
|||||||
bin: fzf
|
bin: fzf
|
||||||
tag: comfy
|
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
|
aim: Email a pull request which points to your git server
|
||||||
tag: git
|
tag: git
|
||||||
shell: sh
|
shell: sh
|
||||||
@@ -422,6 +429,13 @@ bin: ntpd
|
|||||||
tag: time
|
tag: time
|
||||||
tag: system
|
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
|
aim: Uncompress a PDF
|
||||||
cmd: pdftk ${input}.pdf output ${output}.pdf uncompress
|
cmd: pdftk ${input}.pdf output ${output}.pdf uncompress
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|||||||
Reference in New Issue
Block a user