Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

79.Batch file rename -- How to rename files according to a given mapping list?

User: editor -- 2008-05-11          << 78  81 >>
Hits: 2022
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to rename files according to a given mapping list?
Input Sample:
ts053001.pdf name1
ts053002.pdf name2
ts053003.pdf name3
ts053004.pdf name4
ts053005.pdf name5
ts053006.pdf name6
ts053007.pdf name7
Output Sample:
rename "ts053001.pdf" "name1"
rename "ts053002.pdf" "name2"
rename "ts053003.pdf" "name3"
rename "ts053004.pdf" "name4"
rename "ts053005.pdf" "name5"
rename "ts053006.pdf" "name6"
rename "ts053007.pdf" "name7"
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1.press ctrl-o to open the mapping file     
2.press ctrl-h to open replace dialog, set as follows:     
In 'Replace' page:  
1)Set 'Replace Unit' to 'Line'   
2)Set 'search for pattern': 

3)Set 'replace with pattern': 

3. click 'Replace', and save file to run.bat.
4. run 'run.bat' at DOS prompt, ok!
Download Script:  scripts/79.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to rename files according to a given mapping list? (100%)
How to batch rename files by a filename mapping list? (75%)
How to merge 4 lines to one according to given rules? (64%)
How to make a batch replacement according to a text mapping file? (63%)
How to batch rename files by replacing semicolon with a single dot? (59%)
How to batch rename files by removing everything after last "."? (58%)
How to move files to new folders according to beginning letters of filename? (58%)
How to batch rename files by generating a random word that in the list? (58%)

Check Demo of Batch file rename
Keywords:
mapping list  given  give  dos  mapping  mapping file  acc  map  how to rename files  rename files  rename files according to list  rename file according to a list  file rename with mapping  rename files with mapping  rename mapping file  rename files mapping  file rename mapping file  rename file list mapping