Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #bash #delete #files #type #recursively
ADD COMMENT
Topic
Name
9+3 =