Skip to content

Instantly share code, notes, and snippets.

@aballano
Created November 10, 2016 10:49
Show Gist options
  • Save aballano/b73f5b737bac39c07539cc9bf3c70339 to your computer and use it in GitHub Desktop.
Save aballano/b73f5b737bac39c07539cc9bf3c70339 to your computer and use it in GitHub Desktop.
Removes all gradle wrapper folders except for the specified one.
cd ~/.gradle/wrapper/dists/
find . ! -name 'gradle-2.14.1-all' -type d -depth 1 -exec rm -f -r {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment