Help about renaming multiple files in multiple folders

Advanced Renamer forum
#1 : 20/03-17 22:54
Xavier
Xavier
Posts: 1
Hello, I normally download a lot of PDF files about physics, and sometimes the download program do not apply a proper name to the files, so I need a MASSIVE RENAMING in multiple folders.

I am a bit confused about how to do this with Advanced Renamer, so I would really appreciate your help.

My problem is this:

When the file is not properly downloaded I get this:

1004.0716-{1da62abb-c437-476d-8ea8-1e1b749d42b0}.dtapart

The wrong part is:
-{1da62abb-c437-476d-8ea8-1e1b749d42b0}.dtapart

This part is always repeated:
-{ }.dtapart

The numbers inside { } change according the download.

Basically I need this:

1004.0716-{1da62abb-c437-476d-8ea8-1e1b749d42b0}.dtapart

Be this:

1004.0716.pdf

And there is an additional problem...
I need to do is automatically in thousands of folders...
I have this tree (more or less)

\PHYSICS_01-CONDENSED_MATTER
\PHYSICS_01-CONDENSED_MATTER\Semiconductors01
\PHYSICS_01-CONDENSED_MATTER\Superconductors02
\PHYSICS_01-CONDENSED_MATTER\Metalloids01
.
.
.
\PHYSICS_01-CONDENSED_MATTER\DirecorCiracmetamaterials100

Just imagine thousands of folders inside the same folder \PHYSICS_01-CONDENSED_MATTER

And I need Advanced Renamer search inside thouse subfolders inside the main folder \PHYSICS_01-CONDENSED_MATTER

And replace this...

1004.0716-{1da62abb-c437-476d-8ea8-1e1b749d42b0}.dtapart

As this...

1004.0716.pdf

Remembering that:

The wrong part is:
-{1da62abb-c437-476d-8ea8-1e1b749d42b0}.dtapart

This part is always repeated:
-{ }.dtapart

The numbers inside { } change according the download.


Any idea about how may I do this very complicated task?

Cheers


20/03-17 22:54
#2 : 21/03-17 22:46
G. Lambany
G. Lambany
Posts: 165
Reply to #1:
Well, first of all, use the "add directory" feature of AR. Use *.dtapart mask, so that you add only files that needs to be renamed.

second, use this method:

Method: Replace
Text to be replaced: \-\{.+\}.dtapart
Replace with: .pdf
Use regular expression: Checked
Apply to: Name and Extension

easy peasy

cheers


21/03-17 22:46