gitrepo_boyut

This commit is contained in:
milisman 2016-12-04 02:59:07 +02:00
parent 8c9b13ae8b
commit fe1850a75d
1 changed files with 2 additions and 0 deletions

2
bin/gitrepo_boyut Executable file
View File

@ -0,0 +1,2 @@
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