milis/bin/gitrepo_boyut

3 lines
194 B
Plaintext
Raw Normal View History

2016-12-04 01:59:07 +01:00
echo "kullanim: gitrepo_boyut hesap repo"
echo https://github.com/$1/$2 | perl -ne 'print $1 if m!([^/]+/[^/]+?)(?:\.git)?$!' | xargs -i curl -s -k https://api.github.com/repos/'{}' | grep size