Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

203.Batch file rename -- How to batch rename files from format like TEST_2008_06_22_ABC.TXT to 20080622.TXT?

User: editor -- 2008-06-26          << 202  204 >>
Hits: 3653
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to batch rename files from format like TEST_2008_06_22_ABC.TXT to 20080622.TXT?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open menu 'Tools->Batch Runner' 
2. click 'Pick files' select multiplue files 
3. sort these files by name or date or others, by clicking different column titles. 
4. change 'set output filename' entry from ${FILENAME} to: 
 and click 'Apply' at right. 
 
5. click 'Rename', finish. 
 
Note: ${BASE}{words,2,4,"_",""}.${EXT} means take 2 to 4 words in filename,using "_" as delimiter, using blank as output delimiter. 
 
More examples: 
 
#.jpg --- 1.jpg, 2.jpg, ...  
##.jpg --- 01.jpg, 02.jpg, ...  
###.jpg --- 001.jpg, 002.jpg, ...  
@.jpg --- a.jpg, b.jpg, ...  
${BASE}###.jpg --- add 3 digit sequence number 
${BASE}{1,3}.jpg --- keep 1 to 3 chars of filename 
${BASE}{-3,-1}.jpg ---  keep last 3 chars of filename 
${BASE}{replace,'a','b'}.jpg --- replace a with b 
${BASE}{replace,'_',''}.jpg ---remove '_' 
 
 
For detail, please search ${FILENAME} at: 
http://www.mind-pioneer.com/replace/help/Batch_File_List_Operations.html

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to batch rename files from format ABC12.txt to ABC0012.txt? (65%)
How to batch rename files from format like 'file.002' to '002_file'? (62%)
How to batch rename files from format like NAME-YEAR.mp3 to YEAR-NAME.mp3? (61%)
How to batch rename files like 123123N-2(COPY).JPG to 123123-1.jpg (55%)
How to batch rename files from format 2011-03-26.jpg to 26_Mar_2011.jpg? (53%)
How to convert all date from format 2008-06-22 to format of 20080622? (52%)
How to batch rename text files with random line from file contents? (51%)
How to batch rename PDF files with the date inside the file? (50%)

Check Demo of Batch file rename
Keywords:
eus  keep last  200  abc  help  sequence number  digit  dig  jpg  keep  remove words from filename  batch rename take of last  rename file using  add a last words  add words last  add words at last  batch file rename delimiter  keep 2 words