Forum Moderators: phranque
Does anyone know a way to do this without retyping each filename, or copying and editing filenames? Is there an automated names to take file names in a directory and turn them into comma delimited records? or some other delimitted format?
weird question I know, but entering all this data is a pain.
Thanks,
I got the link in this forum, do a search for a software called "Flashrenamer" and get the free trial. It can rename files in a second. Give it a try.
Otherwise, I sometimes use fro JPEG the batch process in Macromedia Fireworks.
Finally, last option is to make your own code in PHP/ASP or any server-side script using copying/reading/writing/directory commands.
Try this:
-start a (dos) command prompt in the directory where the files are
-type: dir *.jpg /b >filelist.txt
-now all the file names are in a file called 'filelist.txt'
-now import this text file into mysql using the "load data infile" command. (Google it for the proper syntax.)