User: shanfeng -- 2013-09-20 << 1133 1135 >> |
Hits: 3962 |
Type: Text merge |
Search all Text merge examples |
Description: |
How to merge two files with the same name from different folder? |
Input Sample: |
folder 1: file A a b c d e f file B a d e b c f folder2; file A 1 2 3 4 5 6 file B 1 3 5 2 4 6 |
Output Sample: |
file A a b c 1 2 3 d e f 4 5 6 file B a d e 1 3 5 b c f 2 4 6 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Assume folder1 is "d:\f1", folder2 is "d:\f2", and output folder is "d:\f3" 1. open "Tools->Batch Runner" window 2. drag files A, B, ... in folder1(d:\f1) and drop to "Batch Runner" window 3. set "change output folder" entry to output folder: d:\f3 4. click "Fast Replace" button 5. click "add" to add new rules: * leave "search" to be blank * set "replace" to: 6. click "ok" 7. click "start", done! Files with same name in f1 and f2 will be merged by column, and output to folder f3 with same name. Note: * please replace folder name f1,f2,f3 with the real folder you are using. * in step 5, you must use double backslash for folder f2, like d:\\f2\\ |
Screenshot 1: Fast_Replace_Window |