User: editor -- 2009-12-05 << 360 362 >> |
Hits: 4972 |
Type: Batch file rename |
Search all Batch file rename examples |
Description: |
How to batch rename files by a filename mapping list? |
Input Sample: |
A text file a.txt containing name maping list: oldname1,newname1 oldname2,newname2 oldname3,newname3 ... |
Output Sample: |
rename all all files to new names base on the mapping list. |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. Put the mapping file a.txt into the folder where files need to be renamed 2. Open "Batch Runner" from menu "Tools->Batch Runner" or press ctrl-b 3. Drag the files from File Browser to "Batch Runner" window(version 2.5 and above) 4. Select "set output filename" option, change ${FILENAME} to: 5. Check the new name from output column, and click "File Rename" to finish renaming. Note: if in the a.txt, the file name is separated by <table> key, the formula in step 4 should be: |
Screenshot 1: Batch_Runner_Window |