want to convert a bunch of c:\1234.567 to c:\1234\567

Advanced Renamer forum
#1 : 24/06-16 05:02
Matthew Davis
Matthew Davis
Posts: 1
I think this can be done but I am a simple lawyer. Can anyone help?

Matt Davis, Seattle.


24/06-16 05:02
#2 : 06/07-16 03:09
G. Lambany
G. Lambany
Posts: 187
Reply to #1:
I don't see how this could be done in AE, could be wrong tho, but anyway, it could be done with a simple python script (outside AE)

is this something that would interest you?


06/07-16 03:09 - edited 07/07-16 20:00
#3 : 28/07-16 15:38
Ma Lu Ce
Ma Lu Ce
Posts: 1
Reply to #1:

First: Go to "Program" then "Settings" after that click on the "Renaming" tab and in the "word separators" box, delete all in there and put "." (w/o the quotes) click "ok"
Then: In the main window, click on the drop box called Batch mode and select "Move" then you will see a text box nearby that says "Output folder" there you put something like
"\<Word:1>\<Word:2>"

That will send the files that cover the requisites to those folders, you can omit the drive and it will use the current folder of the files as "root" or if you want to send it to another folder/drive just wrote it like
"X:\somefolder\<Word:1>\<Word:2>"
being X the drive and "somefolder" the name of the folder you are going to send the files.

This works because after using "." as a word separator your files are separated as "1234" and "567"with the dot "." being ignored, from there you are selecting the name of the folder using the first "word" (from left to right) in this case being "1234" if you wanted to reverse the name of the folders it would be just "\<Word:2>\<Word:1>" with "X\567\1234" as result.

Also you can add words to the tags like "\<Word:1>\Birthday <Word:2>" that will look like this:
"\currentfolder\1234\Birthday 567"

Note: All without the quotes.


28/07-16 15:38
#4 : 28/07-16 18:27
G. Lambany
G. Lambany
Posts: 187
Reply to #3:
That would work if you want to move a file c:\1234.5678.txt to c:\1234\5678\1234.5678.txt

think what he is asking is splitting folder c:\1234.5678\ into c:\1234\5678\ and I still can't see how AE can do this.. AE would need to enable a full pathname processing somehow

cheers!



28/07-16 18:27