mirror of https://github.com/miguelmota/cointop
update .gitignore
Former-commit-id: 4ef5c29391d66e764a3d6c2905c40b46e2031f7f [formerly 078fcde7be7b5f7bee70515fb59bf1fe0e330ce2] Former-commit-id: 9f43c4f9df76a4b4ccf354ddab62d5c443b403e0pull/15/head
parent
0c121d81a2
commit
71f604626a
@ -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
|
|
Loading…
Reference in New Issue