benjamindba
Wednesday, July 25, 2012
remove file extension in shell script
# name without extension
name=${file%\.*}
reference:
http://www.unix.com/shell-programming-scripting/40360-remove-file-extension.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment