On Fri, Apr 20, 2001 at 08:15:59AM -0500, Jim Baxter wrote: > Hi > > Is there a way to rename all the files in a directory the end with .123 > to end with .src ? > > example test.123 to test.src A bit of scripting: ls *.123 | perl -e ' while(<>) { chop; $old=$_; chop; chop; chop; $new=$_ . "src"; rename $old,$new; }' -- Anand _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
- rename lot of files Jim Baxter
- Re: rename lot of files Richard Critz
- Re: rename lot of files Anand Buddhdev
- Re: rename lot of files Emmanuel Seyman
- Re: rename lot of files Anthony E . Greene
- Re: rename lot of files rpjday
- Re: rename lot of files Dan Stromberg