Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# du したときの容量の総和を計算
ruby -e 'p `du target | grep -E -o [0-9]+`.split("\n").map{ |item| item.to_i}.sum()'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment