Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1189.Batch file rename -- How to merge files in all folders into one folder?

User: vlad -- 2014-03-29          << 1188  1190 >>
Hits: 4142
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to merge files in all folders into one folder? 
 
I would like to merge all the folders into one folder. Each folder has about 10 notepad documents and I want to merge all of them under one folder. I have about 500 folders. Thanks.
Input Sample:
a\file1.txt 
a\file2.txt 
b\file3.txt 
b\file4.txt
Output Sample:
c\file1.txt 
c\file2.txt 
c\file3.txt 
c\filr4.txt
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu 
2. assume all folders are under same parent folder 
click "search files" button: 
* set "filename filter" entry 
* set "search directory" to parent folder 
* check "search subdirectory" option. 
* click "Search", all files under sub-folder will be listed 
* close "search files" window 
3. set "Change output folder" to the target folder, such as 
 
4. click "rename", files will be moved to new folder, click "copy/download" files will be copied to new folder. 
 
Note: there may be some duplicated files in different folder, you can set output filename entry to: 
 
Then the filename will be preceded by a folder name to avoid duplicate.

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to merge many files into one file? (71%)
How to search all jpg files in subfolders and copy to a new folder? (68%)
How to copy all files under all sub-folders "sym" to common folder? (64%)
How to move a list of files that in different folders to a common folder? (62%)
How to merge two or more csv files with different columns into one file? (62%)
How to extract titles of all html files and save them to one file? (62%)
How to merge columns of 2 files with the same name in different folder? (61%)
How to merge two files line by line? (61%)

Check Demo of Batch file rename
Keywords:
notepad  basename  about  500  different folder  subdirectory  encode  duplicated  document  folders  copy merge files  copy and rename in same folder  rename files in different folder  duplicate merge  copy same file name  subdirectory rename  rename sub directory files  merge files by name