truncate rename tokens

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

Moderator: Mr_Noodle

truncate rename tokens Thu Jun 20, 2013 4:44 am • by Graf_Wetter
Hi
is it possible to do a truncate of rename tokens to a given number of letters or digits ?
All I can find is the "replace text ..." feature with search and replace of predefined sequences.

Thanks
Graf Wetter
Graf_Wetter
 
Posts: 45
Joined: Thu Aug 25, 2011 7:18 am

Re: truncate rename tokens Thu Jun 20, 2013 10:15 am • by a_freyer
The best option would be to use custom tokens. For example, if you have a token with 11 digits and you only want the first five, you might do this:

Code: Select all
if (all) of the following conditions are met for (the file or folder being processed):
     name matches (first five digits •)(last six digits •)

Do the following to the matched file or folder:
     rename with pattern (first five digits •)


Where:

(first five digits •) = (1)(1)(1)(1)(1), or 'digit digit digit digit digit digit'

(last six digits •) = (1)(1)(1)(1)(1)(1), or 'digit digit digit digit digit digit digit'
a_freyer
 
Posts: 631
Joined: Tue Sep 30, 2008 9:21 am
Location: Colorado


Return to Support