Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1296.Batch file rename -- How to batch rename files to the first date found in the files?

User: Siroos -- 2015-04-13          << 1295  1297 >>
Hits: 3296
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to batch rename files to the first date found in the files? 
 
It can be only in these two formats, like 1.txt in a seperate line, or like 2.txt in the middle of the sentence. But it should pick only the first date found in the file. 
Input Sample:
1.txt 
 
...679 words 
1 January 2014 
The Guardian... 
 
2.txt 
 
...TransGraph Research, 31 December 2013, 1991 words,...
Output Sample:
dd-mm-yy_xxx.txt 
 
Output needs to be converted into the above format where the "_xxx" appears when we have more than one file with the same date. 
 
ex. 
26-01-14_001.txt 
26-01-14_002.txt
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open 'settings->my library' menu 
* set 'my library' entry to: 
 
2. open "Tools->Batch Runner" menu 
3. drag multiple files to "Batch Runner" window 
4. set "set output filename" entry to: 
 
5. check the new filename preview at "output file" column 
6. click "file rename", done.

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to batch rename PDF files with the date inside the file? (80%)
How to batch rename files with the first word of file contents? (78%)
How to batch rename files to the specified pattern found in file content? (77%)
How to batch rename files to the first 8 characters of the second line of file content? (75%)
How to batch rename files by removing first 3 characters of filename? (72%)
How to rename files to the first and last line of file contents? (70%)
How to batch rename files to the new names from a list in a text file? (70%)
How to batch rename files by removing the first 3 characters of each file name? (70%)

Check Demo of Batch file rename
Keywords:
my library  rar  seperate  middle  sentence  formattime  found  return  two  sub  batch rename txt first line  rename txt files to the first line  rename txt file first line  rename first txt file  multiple rename to txt  rename files first line  rename multiple txt  rename batch files first line