diff --git a/test.sh b/test.sh deleted file mode 100755 index 9e04fd9..0000000 --- a/test.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# To use this on Mac you need to brew install coreutils and then replace cut with gcut and numfmt with gnumfmt - -git rev-list --objects --all \ -| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ -| awk '/^blob/ {print substr($0,6)}' \ -| sort --numeric-sort --key=2 \ -| gcut --complement --characters=13-40 \ -| gnumfmt --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest \ No newline at end of file