String manipulation and parameter expansion in bash
Here is the link.
Some examples with filenames:
Some examples with filenames:
filename=$(basename "$fullfile")
extension="${filename##*.}"
filenamenoextension="${filename%.*}"
Comments
Post a Comment