Answers for "remove all files matching a pattern in subdirectories"

0

remove all files matching a pattern in subdirectories

find . -type f -name '<pattern>' -delete

# OR 

find . -type f -name '<pattern>' -exec rm {} +
Posted by: Guest on July-25-2021

Code answers related to "remove all files matching a pattern in subdirectories"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language