Remove Extension in Shell Scripting
Wednesday, June 27th, 2007
This command will list all the files a folder without their extensions. Comes handy when doing shell scripting
perl -e 'while(<*.*>){s/\..{3}$//i;print "File \"$_\"\n";}print "\n";'