Last active
September 6, 2017 03:23
-
-
Save luoyuping/502df0f37993ccfbf633aff0a71a00d4 to your computer and use it in GitHub Desktop.
批量删除特定格式的文件
This file contains 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 -ltr |grep 'Screen Shot' | awk '{print "\047" $8" "$9" "$10" "$11" "$12 "\047" }' |xargs rm | |
ls -ltr |grep 'Screen Shot' | awk '{print "\047" $8" "$9" "$10" "$11" "$12 " "$13 "\047" }' |xargs rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment