Created
December 4, 2012 09:34
-
-
Save solnic/4202193 to your computer and use it in GitHub Desktop.
Remove all rubies older than given date
This file contains hidden or 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
DATE=2012-06-01 | |
for version in `find $rvm_path/rubies/ -mindepth 1 -maxdepth 1 -type d -not -newermt $DATE | cut -d / -f 7`; do rvm remove $version; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment