Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

213.Batch file rename -- How to batch rename files by removing first 3 characters of filename?

User: editor -- 2008-07-05          << 212  214 >>
Hits: 5350
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to batch rename files by removing first 3 characters of filename?
Input Sample:
old filenames

abc01-01
abc01-02
abc01-03
abc02-01
abc02-02
Output Sample:
new filenames

01-01
01-02
01-03
02-01
02-02
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 multiple 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.

if you want to record the mapping between oldname and newname, you can click 'Export List', and save the mapping to a file.

Note: ${FILENAME}{4,-1} means only keep ${FILENAME} from 4th character to last character(removing first 3 characters)

There are many ways to change filename flexibly:

#.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 rename files by removing the first 3 characters of each file name? (94%)
How to batch rename files to the first 8 characters of the second line of file content? (75%)
How to batch rename files to the first date found in the files? (72%)
How to batch rename files by removing unwanted parts? (72%)
How to batch rename files with the first word of file contents? (72%)
How to batch rename files by multiplying each number in filename by 2? (71%)
How to batch rename files by removing all the letters and keep the rest? (71%)
How to batch rename mp3 files by removing everything before dash in filename? (70%)

Check Demo of Batch file rename
Keywords:
4th  export  keep last  mapping  last character  record  sequence number  first 3 char  digit  dig  batch rename remove first characters  rename file batch remove first 3 characters  batch file remove first 3 characters of  batch rename files remove first characters  rename batch remove first characters  batch file rename files remove first characters  batch name remove first characters  batch file remove first 3 characters