Remove File Extension using sed

Get just the file title without the extension in a variable.


file_name=$1
file_title=`echo $1|sed 's/\..\{3\}$//'`

One Response to “Remove File Extension using sed

Leave a Reply