Skip to content

Instantly share code, notes, and snippets.

@jplazcano87
Created February 13, 2018 13:56
Show Gist options
  • Save jplazcano87/871bc7cba13c06c583168306604ff150 to your computer and use it in GitHub Desktop.
Save jplazcano87/871bc7cba13c06c583168306604ff150 to your computer and use it in GitHub Desktop.
Cleanup your Gradle caches by deleting files not accessed within the last month
#Cleanup your Gradle caches by deleting files not accessed within the last month
find ~/.gradle -type f -atime +30 -delete
find ~/.gradle -type d -mindepth 1 -empty -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment