Renamer sequentially according to the modification date

A swapping-ground for Regular Expression syntax

Renamer sequentially according to the modification date

Postby sombrakey » Sat Sep 15, 2018 2:35 pm

Hello friends, could you help me.

I have the following course and inside it I have these folders:

1 - Inicio

2 - Medio

3 - Avancado

..

11 - Conclusão


each folder has several files, exemple "1 - Inicio" folder:

Name : Modification Date

www.treinaweb.com.br-Dados.pdf : 14/09/2018 20:51
www.treinaweb.com.br-Alias.pdf : 14/09/2018 20:53
www.treinaweb.com.br-Final.pdf : 14/09/2018 20:52

realizando insert.mp4 : 14/09/2018 20:57

deletando tabela.mp4 : 14/09/2018 20:54

inserindo usuario.mp4 : 14/09/2018 20:55

--

All .pdf files have start of 17 characters that I would like to remove and leave sequential according to the modified date, ex:


Name : Modification Date

1 - Dados.pdf : 14/09/2018 20:51

2 - Final.pdf : 14/09/2018 20:52

3 - Alias.pdf : 14/09/2018 20:53

4 - deletando tabela.mp4 : 14/09/2018 20:54

5 - inserindo usuario.mp4 : 14/09/2018 20:55

6 - realizando insert.mp4 : 14/09/2018 20:57



The script would run in the course folder and would go into folder in folder renaming as above.


Can anyone help?
sombrakey
 
Posts: 1
Joined: Sat Sep 15, 2018 2:24 pm

Return to Regular Expressions


cron