User: george hellas -- 2010-03-19 << 452 454 >> |
Hits: 4152 |
Type: Batch file rename |
Search all Batch file rename examples |
Description: |
Total number of jpg images are 200000-300000 files... How to remove for example the last 8 digits from right of filename with 6-digit numbers staring from another number? Is it possible? |
Input Sample: |
xxxx_yyy_filename-00000000.jpg xxxx_yyy_filename-00000001.jpg xxxx_yyy_filename-00000002.jpg ............................... xxxx_yyy_filename-00200000.jpg |
Output Sample: |
xxxx_yyy_filename-100000.jpg xxxx_yyy_filename-100001.jpg xxxx_yyy_filename-100002.jpg ............................... xxxx_yyy_filename-300000.jpg |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
We have not tried to rename so many files in one time, suggest to rename them in 10 times or more. 1. open 'Tools->Batch Runner' menu 2. drag some files from windows file browser to Batch Runner window. 3. check option of 'Set output filename', and fill entry followed to: 4. check the filename preview from 'output file' column, and click 'File Rename', done. Note: * if there are too many files and it's not easy to drag, you can try click 'Search files' button, and enter some criteria to search less than 20000 file each time. * {1,-9} means keep characters from 1 to -9(the 9th count from the end). * ######{100000} means 6 digits start from 100000 if you want to start from another number like 200000, use: ${BASE}{1,-9}######{200000}.${EXT} * you must make backup in advance to avoid mis-operation. |
Screenshot 1: Batch_Runner_Window |