I need a script written or existing tool that will take two variables such as file names in a particular directory(12345.jpg), read in a file (CSV perhaps) that looks something like this...MatchingColumn RenameColumn12345 XYZ123and rename 12345.jpg to XYZ123.JPGEssentially it renames files in a directory from a list. Can anyone help? Ideally it would run in a batch process.Thanks
7/13/2006 4:32:58 PM
I can do it for $$$.
7/13/2006 4:34:30 PM
you could write excel VBA to do that in a couple of lines.
7/13/2006 4:38:00 PM
I can do it for $$.
7/13/2006 4:55:21 PM
I was thinking perl.
7/13/2006 5:16:58 PM
string filename = "blah.txt"dir > filenamestring newfilename = ""while (filename.readline()!=null){newfilename += "crapyouwannaaddon" + filename.readline()system.out("mv .\"+filename+".\"+newfilename)}that template should be close to what ypu need in a ton of languages[Edited on July 13, 2006 at 5:41 PM. Reason : d]
7/13/2006 5:40:14 PM