|User: editor -- 2010-02-16 << 421 423 >>|
|Type: Batch file rename|
|Search all Batch file rename examples|
|How to batch rename files with the first word of file contents? |
I have some files that has blank line in first line or first 2 lines, is there any way that rename this files with the first word appear in the test files?
|Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.|
|1. ctrl-B open 'Batch Runner' window |
2. drag files from windows 'File Browser' and drop to 'Batch Runner' window
3. check option of 'set output filename', and change the following entry to be:
to avoid filename duplicate, you can add 3 digit sequence number as prefix, like:
4. check preview of filename at the 'output file' column, and click 'File Rename' button, all files will be renamed.
Screenshot 1: Batch_Runner_Window