DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
extract file extension bash
FILE="/path/to/file.extension" echo "$FILE" | rev | cut -d '.' -f 1 | rev
PREVIOUS
NEXT
Tagged:
#extract
#file
#extension
#bash
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit