Skip to content

Instantly share code, notes, and snippets.

@dayanruben
Created January 23, 2018 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dayanruben/694bba59c6e8bcb3287fb5884c05cb67 to your computer and use it in GitHub Desktop.
Save dayanruben/694bba59c6e8bcb3287fb5884c05cb67 to your computer and use it in GitHub Desktop.
Cleanup script on "~/.gradle" to delete files not accessed recently.
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