Is is possible to have a counter [C] start from the beginning when parent folder changes?
Let's say we have this folder structure:
Code: Select all
\20190101\a.a
b.b
c.c
d.d
\20190102\a.a
b.b
c.c
d.d
e.e
\20190103\a.a
b.b
c.c
d.d
....
Now I want to rename the existing files to [P]-[C] but I want the counter to start from 1 (or preset with [C]) each time a parent folder [P] changes. So first folder would have filenames:
Code: Select all
\20190101\20190101-1.a
20190101-2.b
20190101-3.c
20190101-4.d
\20190102\20190102-1.a
20190102-2.b
20190102-3.c
20190102-4.d
20190102-5.e
\20190103\20190103-1.a
20190103-2.b
20190103-3.c
20190103-4.d
...
[P] would select parent folder
[1P] would select parent's folder parent folder (same as [G] currently - and [G] support would be removed).
[2P] would select one folder above....
and maybe [C] would support this:
[1C] would start from 1 (or [1C2] would start from 2 each time parent folder changes (also [2C]... for two folders above...).
(or other syntax because [1P] works at the moment... though I cannot find this in help.).
Saso