Remove Extension in Shell Scripting

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";'
Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

Leave a Reply

Your email address will not be published. Required fields are marked *