Toggle Navigation
DaveScripts.com
Posts
(current)
Code Snippets
Delete a batch of files using a regular expression with the find command
Bash
General
find . -regextype "egrep" \ -iregex './sometext_[0-9][13579]_C.*' \ -exec rm {} \;
Related Snippets
•
Rename a batch of files
•
Examples of the wget command
•
Examples of the curl command
×