Re: Renaming multiple files???



Rich Grise <rich@xxxxxxxxxxx> wrote in message
news:pan.2008.08.15.17.31.27.450097@xxxxxxxxxxxxxx
On Fri, 08 Aug 2008 16:18:47 -0700, Jim Thompson wrote:
I need to rename multiple files, as for example...

DSC00062.JPG
|
|
|
DSC00098.JPG

to...

Thanksgiving00062.JPG
|
|
|
Thanksgiving00098.JPG

I vaguely remember, in DOS, that I could type:

REN DSC*.JPG NAME*.JPG

But that won't handle long files names, plus it's a pain dropping into
the crappy DOS window.

Anyone know a trick or a utility (doesn't have to be free) that can do
this?

Sure - just boot Linux, and do
$for MYFILENAME in `ls` ; do mv "$MYFILENAME" "Thanskgiving$MYFILENAME" ;
done

Hope This Helps!
Rich



A.F.5 1.1 af5.exe
http://www.fauland.com/af5.htm


is what I use in such situations

--
Diverse Devices, Southampton, England
electronic hints and repair briefs , schematics/manuals list on
http://home.graffiti.net/diverse:graffiti.net/


.



Relevant Pages

  • Re: OT: Copying text from a PDF
    ... Rich Grise wrote: ... I'm never too keen on leaving the GUI and getting into a DOS ... Open the DOS window in the XPDF program folder and then (assuming ...
    (sci.electronics.design)
  • Re: 89C51ED2
    ... Rich Grise wrote: ... You do like to take risks! ... DOS is the only stable product ever to come from Microsoft. ...
    (sci.electronics.design)
  • Re: OT: Desktop icons vanishing. How to get rid of them?
    ... Rich Grise wrote: ... They stole it from Digital ... They bought it in. ... DR DOS was something else entirely. ...
    (sci.electronics.design)
  • Server 95 refuses to boot from act. partition with MBR
    ... My Server 95 refuses to boot Linux from the first primary partition. ... Even recreating the MBR with DOS' fdisk and recreating LILO from Linux didn't help. ... The system harddisk is the only one and booted successfully with DOS and OS/2 before. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Phat Linux on NT: Startup Problem
    ... It is saying that you can't boot linux from within NT. ... "real mode", which will allow any program to take over the hardware. ... You need to boot Phat from DOS, ...
    (comp.os.linux.misc)