Last active
October 28, 2017 06:48
-
-
Save weshouman/9aa43b2acc5ac6df5830 to your computer and use it in GitHub Desktop.
remove all files except for specified ones #bash
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
find . -type f -not -name '*.s' -not -name '*.sh' -not -name '*.txt' | xargs rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment