#1 2020-08-10 18:54

4k3or3et
Member
Registered: 2020-08-10
Posts: 3

Increment folder name by 1...

Hi All

i have folder which names look like this:

2020-08-02_23-06-45
2020-08-03_20-46-27
...

What i am trying to achieve is to increment last digit by 1 so it would look like this:

2020-08-02_23-06-46
2020-08-03_20-46-28
...

Can anyone help me write pascal script like this?

Thank you.

Last edited by 4k3or3et (2020-08-10 18:54)

Offline

#2 2020-08-10 19:47

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,024

Re: Increment folder name by 1...

All you need for that is the Reformat Date rule, configured as follows:

Convert to "yyyy-mm-dd_hh-nn-ss" from "yyyy-mm-dd_hh-nn-ss", whole words only, skip extension, adjust time by 1 second.

Offline

#3 2020-08-11 09:02

4k3or3et
Member
Registered: 2020-08-10
Posts: 3

Re: Increment folder name by 1...

Thank you.

Offline

Board footer

Powered by FluxBB