I’m using Gemini 4.5 Pro to do this.
I have successfully used the chat inspector to rename files to my specification, but when I use a similar prompt in the Batch Process…, it keeps doing the wrong thing.
Here is a snippet of my successful chat inspector conversation.
Me: Please rename this file like the following example “197705_Byte_Magazine_Vol_02-05_Interfacing” to “197705 Vol 02 No 05 Interfacing”
Bot: Okay, I can help with that. First, please tell me the current full name of the PDF document you would like me to rename according to this new pattern:
Bot: Example:
Bot: * Old: 197705_Byte_Magazine_Vol_02-05_Interfacing
Bot: * New: 197705 Vol 02 No 05 Interfacing
Bot: Once you provide the current name, I will propose the new name based on this pattern.
Me: 197705_Byte_Magazine_Vol_02-05_Interfacing
Bot: Okay, the selected PDF is “197705_Byte_Magazine_Vol_02-05_Interfacing”.
Bot: Based on the new pattern you provided (“YYYYMM Vol VV No NN Title”), the new name would be “197705 Vol 02 No 05 Interfacing”.
Bot: Shall I proceed with this new name?
Me: yes
Here is my failing bulk rename specification:
The prompt is the following:
Rename the file using the following scheme. For example “197706_Byte_Magazine_Vol_02-06_Cognitive_Robot”. rename using following the pattern “YYYYMM Vol VV No NN Title”, the new name would be “197706 Vol 02 No 06 Cognitive Robot”.
197709_Byte_Magazine_Vol_02-09_Music_and_Computers
becomes
197709 Byte Magazine Vol 02-09 Music and Computers
I expect:
197709 Vol 02 No 09 Music and Computers
I created this batch rule by duplicating the “Rename To Chat Suggestion” batch specification.
I appreciate in advice in getting the name change I expect.