« return

Recursively delete files on a wildcard match

29-Jun-2008, Ant

find . -name "*.ext" -exec rm '{}' ';'

Will recursively delete all files under the current dir containing .ext in the filename.