Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

818.Replace text in multiple files -- How to add a timestamp at the beginning of multiple text files?

User: editor -- 2011-07-08          << 817  819 >>
Hits: 3227
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How to add a timestamp at the beginning of multiple text files?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu 
2. drag multiple text files from "windows file browser" to "Batch Runner" window 
3. click "Fast Replace" open "Fast Replace" dialogue 
4. click "add", to add following rules:  
* search: 
 
* replace: 
 
* click "ok" after done 
5. make sure to check option "reg exp" and "cross line",  then click "Start" button. 
 
Following timestamp will be added before each text file: 
2011-07-08 18:14:58

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to move the last line to the beginning for multiple text files? (79%)
How to insert a text file into the beginning of multiple text files? (77%)
How to add empty line at begin of multiple files? (76%)
How to add words at the begin and end of first line in multiple files? (68%)
How to add filename as a new column for multiple csv/txt files? (67%)
How to add specified text to the begin and end of many text files? (67%)
How to extract the last non-blank line from multiple text files? (65%)
How to remove leading spaces and tabs in each line in multiple text files? (63%)

Check Demo of Replace text in multiple files
Keywords:
110  timestamp  times  rules  before  bef  befor  cross line  after  date  add timestamp to multiple files  add timestamp to the beginning  add text to beginning of multiple files windows  add a line before multiple file  add text beginning of multiple files  add text to beginning of multiple file  before and after  add before each line