Answers for "linux remove all files with extension in subdirectories"

6

rm files with extension

find . -name "*.bak" -type f -delete
Posted by: Guest on September-09-2020
0

bash delete all files of type recursively

# print all files recursively with exstension .bak
find . -name "*.bak" -type f

# add -delete command at the end to delete them
find . -name "*.bak" -type f -delete
Posted by: Guest on November-18-2020
0

linux remove all files same extension in directory

find . -type f -iname *.zip -delete
Posted by: Guest on October-13-2020

Code answers related to "linux remove all files with extension in subdirectories"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language