String manipulation and parameter expansion in bash

Here is the link.

Some examples with filenames:
filename=$(basename "$fullfile")
extension="${filename##*.}"
filenamenoextension="${filename%.*}"

Comments

Popular Posts