Created
March 9, 2016 23:14
-
-
Save cellularmitosis/dd9c9cd3aa9be2e177d8 to your computer and use it in GitHub Desktop.
delete all but the latest three files
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
for i in `ls -1t *.tar.lzo | tail -n+4` | |
do | |
rm $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment