View Single Post
  #6  
Old 25.11.2018, 17:50
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,125
Default

Original:
file.txt
file.txt
file.txt

Select all files

Rename Dialog:
Search For: ^file\.txt (Default Regex)
Replace With: file <jd:indexof>.txt

Result:
file 1.txt
file 2.txt
file 3.txt

The placeholder (can be in any position in the replace with expression) will be replaced with the numeric index matching the position of the file in the package. It will be automatically padded with necessary leading zeros based on the total number of files in the package.
Reply With Quote