Created
December 3, 2020 01:48
-
-
Save Renkai/3ba42c9460dd02bfef168d85ae681c09 to your computer and use it in GitHub Desktop.
remove outdated m2 cache
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 ~/.m2/repository/ -atime +1 -iname '*.pom' -print0 | while read -d '' -r pom; do echo rm -rf "$(dirname $pom)"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment