Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

File compare and rename


Recommended Posts

Anyone aware of a script, cgi or php or software program that will compare a file and rename the file. I need something that will check a file name to a database and use an alternate name to rename the file.


Basicly like this:






renamed to:






based on this info in the database:


field1 field2

image1.jpg 1

image2.jpg 2

image3.jpg 3


I have tens of thousands of product images from various vendors all of which I would like to rename to match my internal produt id. Since I use excel to prepare my data for upload I use a counting sequence to add the unique product id. Most of my product data is supplied by my vendors so it takes minutes to do it this way versous months or years to do it by hand.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...