Skip to content

Instantly share code, notes, and snippets.

@tsabat
Last active December 20, 2015 17:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsabat/6167138 to your computer and use it in GitHub Desktop.
Save tsabat/6167138 to your computer and use it in GitHub Desktop.

remove all but last 5. Run this from the releases directory.

sudo rm -rf `ls -t | awk 'NR>5'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment