CodeForFun
Tuesday, September 20, 2011
Extracting File Name , Extension , File Name Without Extension In Shell Script
First, get file without path:
filename
=
$
(
basename $fullfile
)
extension
=
$
{
filename
##*.}
filename
=
$
{
filename
%.*}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment