Skip to content

Instantly share code, notes, and snippets.

@kwatch
Created April 23, 2017 08:41
Show Gist options
  • Save kwatch/86ea1f20e0d7df65ab43e8300d4e2773 to your computer and use it in GitHub Desktop.
Save kwatch/86ea1f20e0d7df65ab43e8300d4e2773 to your computer and use it in GitHub Desktop.
pydiet.shを実行したら、約720MB → 約380MB へと半分以下になった
##
## before diet
##
$ du -sk *
91512 2.6.9
109068 2.7.13
117908 3.3.6
115024 3.4.5
142572 3.5.2
143328 3.6.0
$ du -sk * | awk '{t+=$1}END{print t}'
719412
##
## after diet
##
$ du -sk *
56044 2.6.9
65508 2.7.13
62352 3.3.6
62916 3.4.5
66252 3.5.2
67668 3.6.0
$ du -sk * | awk '{t+=$1}END{print t}'
380740
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment