Last active
April 18, 2017 16:36
-
-
Save kkarad/9a6869a35fbe60fa6f28515e44c10ca0 to your computer and use it in GitHub Desktop.
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
# for every directory run multiple commands | |
find . -maxdepth 1 -type d -exec sh -c "cd {} && mvn clean && cd -" \; | |
#when disk is out of space identify directory which occupies most space | |
df -h | |
du -s * | sort -r -n | head -n 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment