Can I rename every nth file?

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Can I rename every nth file?

Postby Indianbear » Sun Dec 11, 2011 1:06 am

Hi,

I can't find this in a search, so here goes.

I have a set of 1,000 .html pages.

I want to break them up into groups of 25 pages each.

I want to pull out every 25th page for a group. I thought the easiest way to do this would be to rename/renumber every 25th page.

Can it be done?

Thanks
Indianbear
 
Posts: 1
Joined: Sun Dec 11, 2011 12:58 am

Re: Can I rename every nth file?

Postby hakibam » Tue Feb 19, 2013 12:46 am

this is the closest way I think:
In this case I want them to be in group of 3.

original file names:
abc001
abc002
abc003
abc004
abc005
abc006
abc007
abc008
abc009

Numbering(10) Suffix, Start 0, Pad 7, Sep. = "_", Type = Base 3

Then, [Rename]

abc001_0000000
abc002_0000001
abc003_0000002
abc004_0000000
abc005_0000001
abc006_0000002
abc007_0000000
abc008_0000001
abc009_0000002

Then, Remove(5) From 8 to 13

abc001_0
abc002_1
abc003_2
abc004_0
abc005_1
abc006_2
abc007_0
abc008_1
abc009_2

However I this only works if the number in a group is less than 10.
hakibam
 
Posts: 2
Joined: Tue Feb 19, 2013 12:09 am


Return to BRU Support