#1 : 11/10-20 07:11 Jim
Posts: 1
|
Can import be used to "List Replace"
I would like to search for part of the file name and have it replaced, I have all the partial names and replacements in a csv file I see that I can manually add each individual file name and replacement, but when I import, it wants the complete file name |
#2 : 11/10-20 09:20 David Lee
Posts: 1125
|
Unfortunately not. The only solution that I have come up with is to hard-code all the replacements into a script using the string.replace() method. You can easily build all the necessary lines of code from your existing csv file using Excel (or open-source equivalent) and paste them into a script. See my comment in forum post: www.advancedrenamer.com/forum_thread?forum_id=10313
For details of the replace() method see: www.w3schools.com/jsref/jsref_replace.asp |