View Single Post
  #1 (permalink)  
Old 10-22-2004, 05:16 PM
steve0 steve0 is offline
WebProWorld Pro
 

Join Date: May 2004
Location: Austin, TX
Posts: 199
steve0 RepRank 0
Default Looking for a lil scripting help

Not sure if anyone can rise to the challenge.. <*wink* *nod*>
but I have a task and I am looking for a little help.

I have several thousand JPEG files that needed to be renamed to match a part number that is embedded in a corresponding html file.

e.g.
jpeg file is "product_image_982.jpg"
textfile is "product982.html"

within "product982.html" is ZR242A

The task is
product_image_982.jpg ==> ZR242A.jpg

There is no corresponding db that created the mess..
All I have is imagefile#.jpg and product#.html.

Most methodologies and combination of methods considered.. (preferably non-manual)

Any ideas??

-steve
__________________
Hardcore Programming Solutions and Coffee Drinker
Reply With Quote