Alexander John Batyi on Wed, 7 Jul 1999 09:21:15 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] quick solution please


> 
> how can one change the extention on a group of files?  I've got a bunch of
> .txt files, and I want to drop the extention... like make text.txt just
> text... for a group... how could I do it all in one command?
> 

for i in *.txt
do
  mv $i `basename $i .txt`
done


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug