Last active
August 29, 2015 14:16
-
-
Save bfontaine/87e7fcd69ab8c7b47b2d to your computer and use it in GitHub Desktop.
Remove docs from installed Homebrew formulae. I ran short of disk space while installing something, and this little command got me 600MB back. Use at your own risk.
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
\ls -1 /usr/local/Cellar/*/*/share/doc | grep doc: | cut -d: -f1 | xargs rm -rf; brew prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment