Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

268.Batch file rename -- How to batch rename each html file to the title of the html file?

User: editor -- 2008-09-19          << 267  269 >>
Hits: 4020
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to batch rename each html file to the title of the html file?
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:

5. click 'Rename', finish.

Note: 
1. html_title is a function to take text between <TITLE> and </TITLE> from html file.
2. require version 2.2 and above.

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 '_'

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to batch generate html files from a html template file? (71%)
How to batch rename last part of filenames to the strings from a file? (70%)
How to batch rename PDF files with the date inside the file? (69%)
How to batch extract html title from files and link to the file? (66%)
How to batch rename csv file with text from 2nd line, 2nd column of file? (65%)
How to batch rename html files with specified text from html title tags? (64%)
How to batch rename html files to specified text from html title tags? (64%)
How to batch rename picture files to the data and time of the pictures? (64%)

Check Demo of Batch file rename
Keywords:
keep last  sequence number  digit  dig  jpg  keep  function  title  sequence  seq  rename text file with between  batch rename html text  batch rename take of last  jpg sequence text  batch file output text file name by date  rename html between  rename file html with title  batch rename and replace from text