Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

649.Batch file rename -- How to move a list of files that in different folders to a common folder?

User: editor -- 2010-11-04          << 648  650 >>
Hits: 2808
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to move a list of files that in different folders to a common folder?
Input Sample:
There is a file containing a list of many files in different folder: 
c:\data\a\001.txt 
c:\data\b\002.txt 
c:\data\b\003.txt 
...
Output Sample:
Move all these files to c:\target 
c:\target\001.txt 
c:\target\002.txt 
c:\target\003.txt 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Assume the file list is in list.txt with full pathname 
1. ctrl-o open list.txt 
2. ctrl-h open 'replace' window 
* set 'replace unit' to 'Line' 
* enter 'replace with pattern' entry to: 
 
3. click "Replace", done! 
4. ctrl-s save to m.bat 
5. run m.bat, you can move all files to c:\target 
 
 
 

Screenshot 1:  Replace_Window


Similar Examples:
How to batch rename files in different folders and move them to a common folder? (72%)
How to copy all files under all sub-folders "sym" to common folder? (67%)
How to merge files in all folders into one folder? (62%)
How to put a list of names in different rows into one line? (62%)
How to remove duplicate lines in multiple files in different sub-folders? (61%)
How to merge two or more csv files with different columns into one file? (60%)
How to merge columns of 2 files with the same name in different folder? (59%)
How to move all the jpg files to its parent folder? (59%)

Check Demo of Batch file rename
Keywords:
common  different folder  how to move a list of files  move a list of files  folders  path  full  list of files  different  ass  rename files in different folder  folders rename  rename folders  folders files  move list of files  rename files in a folder  rename folder  file folders