How to rename part of a file name

Advanced Renamer forum
#1 : 26/10-17 23:05
Lonnie
Lonnie
Posts: 3
Hi guys,
I get periodic updated images from my inventory supplier. The photos come named as <6-digit-ID> + random descriptor.jpg; for instance, 400110 side.jpg. The leading 6 digits are all consistently the product ID, so that is good and I want to keep that; but the random descriptors (could be side, back, case, detail, Detail, - detail, detail2, or others) need to be replaced with _<IncNr>.

Like this: start with 400110 side.jpg, 400110 back.jpg, 400110 detail.jpg.

Those need to be renamed to 400110_1.jpg, 400110_2.jpg, 400110_3.jpg.

It seems Advanced Renamer can easily do this, but I'm struggling with the syntax. Is there a wildcard or placeholder? Something to tell the software to keep the first 6 digits but add the underscore and incrementing number.


26/10-17 23:05
#2 : 27/10-17 08:39
Stefan
Stefan
Posts: 223
Reply to #1:
I guess you want to serialize (<IncNr>) only files with same '<6-digit-ID>' ?
If the '<6-digit-ID>' change, start over '_<IncNr>' at zero again?


 

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.


27/10-17 08:39
#3 : 27/10-17 09:45
Stefan
Stefan
Posts: 223
Reply to #2:
How about

Remove 999 Start at '7'
https://www.advancedrenamer.com/user_guide/metho d_remove

In addition with
https://www.advancedrenamer.com/user_guide/name_ collision_rules


 

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.


27/10-17 09:45
#4 : 27/10-17 13:04
Lonnie
Lonnie
Posts: 3
***************
I guess you want to serialize (<IncNr>) only files with same '<6-digit-ID>' ?
If the '<6-digit-ID>' change, start over '_<IncNr>' at zero again?
***************

Yes, both correct. Thanks for the links, I will check that.


27/10-17 13:04 - edited 27/10-17 13:05
#5 : 31/10-17 13:53
Lonnie
Lonnie
Posts: 3
****************
How about

Remove 999 Start at '7'
https://www.advancedrenamer.com/user_guide/metho d_remove

In addition with
https://www.advancedrenamer.com/user_guide/name_ collision_rules
****************

Thanks - this is looking very helpful. Is there a way to specify the number of digits in the collisions rule when adding incremental numbers? I want the software to add only 2 digits, not 3. I.e. add _01 and _02 and _03, but it does _001 and _002 and _003.


31/10-17 13:53
#6 : 03/11-17 09:05
Stefan
Stefan
Posts: 223
Reply to #5:
> Is there a way to specify the number of digits in the collisions rule
> when adding incremental numbers?
> I want the software to add only 2 digits, not 3.

It is time to read the help. me guess:
https://www.advancedrenamer.com/user_guide/name_ collision_rules

There is even a picture specially for you ;-)




See "Append pattern" <Inc Nr:2> ?


Read for more
https://www.advancedrenamer.com/user_guide/tags_ default




 

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.


03/11-17 09:05