Magic File Renamer Help


Counter

Serial number from the item's position in the Rename List. Sort order affects numbering. The Counter filter is an alternative when you only need to prepend/append/replace with a number.

Counter token editor
Token editor.

Signature (named options, order-independent): <counter> or <counter:initial=1,step=1,padding=none,length=2,resetScope=global>

Bare <counter> uses those defaults. Omitted options keep the same defaults.

Option Description
initial Start value for the first item (default 1).
step Increment per index; may be negative (default 1).
padding none (default), auto (width from list/folder scope), or fixed (pad to length).
length Digit width when padding=fixed (default 2; ignored when padding is none).
resetScope global (Rename List index) or perFolder (reset within each parent folder).

Examples

For the 3rd item in a 12-item Rename List:

Token Result
<counter> 3
<counter:padding=fixed,length=3> 003
<counter:initial=0,step=1,padding=none> 2
<counter:padding=auto> 03 (width from 12 items)