Created
July 24, 2013 17:40
-
-
Save jeremysimmons/6072729 to your computer and use it in GitHub Desktop.
linux: sum of svn directory sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -regex '.+svn$' -print0 | xargs -0 -n 1 du -shk | cut -f 1 | awk '{total = total + $1}END{print total}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment