Answers for "extract file extension bash"

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 "extract file extension bash"

Browse Popular Code Answers by Language