Answers for "bash extract file extension"

2

extract file extension bash

FILE="/path/to/file.extension" 
echo "$FILE" | rev | cut -d '.' -f 1 | rev
Posted by: Guest on April-19-2021

Code answers related to "bash extract file extension"

Browse Popular Code Answers by Language