parameter expansion
Last updated
Was this helpful?
Last updated
Was this helpful?
getting only the file name without extension
****${FILENAME%.*}
getting only the extension
****${FILENAME##*.}
remove first folder (until / )
****${FILENAME#*/}
getting filename
****${PATHNAME##*/}
Much more on