Using Patterns with Import Rename Pairs

Javascript renaming examples. Javascript renaming is supported in version 3 or newer.

Using Patterns with Import Rename Pairs

Postby hmergan » Fri Jan 25, 2019 1:56 pm

Hi Everyone,

Thanks for the tool. I am using it.

I have a case.

I have a list of students and their school id numbers, to upload to a system I need to use their id:

for example,

file_trial_James-Brown.txt --> file_trial_20101111.txt

I created a txt file where names and ids are paired:


I have many names in the list and first part of the files are not the same (e.g. file_trial_ in one file, it is test_test_ in another file etc). However, I need to bulk change the second part. May I use import rename pairs function?

When I create the txt file, it doesn't change, but it requires full file name. Is there another way of doing that? I thought maybe JS can help me, but I don't know the language.

You support is highly appreciated.

Posts: 1
Joined: Fri Jan 25, 2019 1:48 pm

Re: Using Patterns with Import Rename Pairs

Postby Admin » Tue Feb 12, 2019 12:11 am

Currently not possible, sorry, but a great idea for next release.
Question: are the files always starting with file_trial_ ? In that case you could add that to the names in the text file.
Site Admin
Posts: 1896
Joined: Tue Mar 08, 2005 8:39 pm

Return to Javascript Renaming