Answers for "linux delete files with extension"

6

rm files with extension

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

remove file extension bash

$ filename=foo.txt
$ echo "${filename%.*}"
foo
Posted by: Guest on May-21-2020

Code answers related to "linux delete files with extension"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language