Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

927.Batch file rename -- How to batch rename files by appending the number of lines at the end?

User: editor -- 2012-03-15          << 926  928 >>
Hits: 2202
Type: Batch file rename   
Search all Batch file rename examples
I have many text files with different number of lines, is it possible to rename all the files, appending the number of lines at the end of each filename?
Input Sample:
original files:
file1.txt  has 98 lines
file2.txt  has 330 lines
file3.txt  has 103 lines
Output Sample:
new filename:
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. check option of "set output filename", and set the following entry to:

4. check the new filename preview at output file column, make sure it is correct
5. click "File Rename", done.

Screenshot 1:  Batch_Runner_Window

Similar Examples:
How to batch rename files by keeping only the numbers at the end? (82%)
How to batch rename files by moving the leading numbers to the end? (80%)
How to batch rename files by multiplying each number in filename by 2? (75%)
How to batch rename files by repositioning numbers? (74%)
How to batch rename mp3 files by adding artist name behind? (70%)
How to batch rename files by removing all trailing numbers? (69%)
How to batch rename text files with random line from file contents? (69%)
How to batch rename text files by adding the value of file content to filename? (69%)

Check Demo of Batch file rename
different number  append  correct  next  ppen  number of lines  rename all  count  content  different  rename text file with number of lines  rename of many text files  rename all multiple text  rename all files with text to  rename multiple files from text file  rename multiple text files  text to rename multiple text files  multiple text rename