Created
March 7, 2017 09:59
-
-
Save emalgholzad/5c70152bcded4f202113d3809031f066 to your computer and use it in GitHub Desktop.
Remove all files starting with a certain string
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
Delete all files in current directory and its sub-directories where the file name starts with "foo": | |
$ find . -type f -name foo\* -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment