Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash remove extension

filename=$(basename -- "$fullfile")
extension="${filename##*.}"
filename="${filename%.*}"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #remove #extension
ADD COMMENT
Topic
Name
5+2 =