Created
January 3, 2017 02:36
-
-
Save camark/884470560615588e80f1e734e0af6944 to your computer and use it in GitHub Desktop.
删除最晚的6个文件
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
| ls -lt *.sql | tail -n 6 |args '{print $9}' |xargs rm -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment