DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
remove all files matching a pattern in subdirectories
find . -type f -name '<pattern>' -delete # OR find . -type f -name '<pattern>' -exec rm {} +
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#remove
#files
#matching
#pattern
#subdirectories
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit