RENAME partial filename - possible?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

RENAME partial filename - possible? Tue Jan 02, 2024 8:27 pm • by seasea
Hello, Is it possible to rename partial matching on characters (__) and rename everything after.

Filename consists of Part A__Part B
Part A is different for every file
The Joiner __ is the same for all files
Part B can be set in the rule e.g. "refLOC3 12345 B"

Example:
Filename = Experience Is Wonderful__ref12345 A 45
match on __
rename every after __ to "refLOC3 12345 B"
Result = Experience Is Wonderful__refLOC3 12345 B
seasea
 
Posts: 10
Joined: Tue May 05, 2015 7:12 am

Re: RENAME partial filename - possible? Wed Jan 03, 2024 9:56 am • by Mr_Noodle
Look up match patterns in the manual. You can use custom attributes to grab the parts you want to re-use.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support