Answers for "remove all files with extension command line"

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 "remove all files with extension command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language