User: vlad -- 2012-04-13 << 935 937 >> |
Hits: 4675 |
Type: Batch file rename |
Search all Batch file rename examples |
Description: |
How to batch rename last part of filenames to the strings from a file? I have a list of 5 digit numbers total of 30000 of them. I have also 30000 files in .jpg with the text for example: word1-word2-word3-sip1 word1-word2-word3-sip2 .............. word1-word2-word3-sip30000 so how do I get my list of five digit numbers and use them to replace sip1, sip2 ......... sip30000 |
Input Sample: |
word1-word2-word3-sip1.jpg word1-word2-word3-sip2.jpg ... |
Output Sample: |
word1-word2-word3-3001.jpg word1-word2-word3-3005.jpg ... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Batch Runner" window 2. drag multiple files from windows file browser to "batch runner" window(if there are many files, can use "search" button) 3. assume the file with list of 5 digit number is d:\test\list.txt, check 'set output file name' option, set the following entry to: 4. after the new filename are generated, check if the names are valid from 'output file' column. 5. click 'file rename', done. Note: you need to change formula in step 3 if your name is not d:\test\list.txt, you must use double backslash \\ for folder separator. |
Screenshot 1: Batch_Runner_Window |