Answers for "rm all files with extension"

6

rm files with extension

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

ubuntu delete all files with extension

cd <dir>
find . -type f -iname *.jpg -delete
Posted by: Guest on June-07-2020
0

remove all files with no extention rm

find . -type f  ! -name "*.*"  -delete
Posted by: Guest on May-07-2020

Code answers related to "rm all files with extension"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language