Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1466.Batch file rename -- How to rename all the files by appending the calculated file
size?

User: Hope -- 2023-02-15          << 1465  1467 >>
Hits: 1317
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to rename all the files by adding the calculated file size after filename?
Input Sample:
1.ZIP  
the file size:1000MB â‰ˆ0.977GB 
This existing code only shows the file  
size in bytes: 
${BASE}_${FILENAME}<scalar(-s  
$match)>.${EXT}
Output Sample:
1-0.977GB.ZIP
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 files from file browser to "batch runner"  
window, or click "search" to find multiple files.  
3. change "set output file name" to:  
 
  
4. click "File Rename", done.

Similar Examples:
How to rename all the files by adding the file size after filename? (70%)
How to rename all files by adding a letter 'x' behind each filename? (66%)
How to rename all files by multiplying each number in filename by 3? (63%)
How to remove all the lines appeared in file B,C,D from file A? (62%)
How to batch rename text files by adding the value of file content to filename? (62%)
How to rename many files with the last modified date of the file? (60%)
How to remove/delete all lines ending by a comma(,) in a text file? (59%)
How to batch rename files by removing first 3 characters of filename? (59%)

Check Demo of Batch file rename
Keywords:
file size  size  adding  calculate  append  calcu  ppen  calculat  find  rename all  rename size  file size rename  rename file size  filename find  batch file find output file name  find files name  rename files by adding  adding filename