Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux find and delete files by extension

find . -name "*.bak" -type f -delete

# But use it with precaution.
# Run first:

find . -name "*.bak" -type f
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #linux #find #delete #files #extension
ADD COMMENT
Topic
Name
2+7 =