Add list to existing file names

Advanced Renamer forum
#1 : 09/05-22 18:39
Pedro Xavier
Posts: 2
Hi,

How could I add a list of numbers to existing file names? I'm labeling files with information from a spreadsheet list, and the list function works right for when I want to completely replace the names of the files. But how can I use it to add instead of replace?

Example:
file_035_a
file_035_b
file_899_a
file_788_b

List:
1
1
4
5

Desired output:
file_035_a_1
file_035_b_1
file_899_a_4
file_788_b_5

I've tried using tags but that would still require me to add <name> to the beggining of each row, which would then not work with the "copy and paste" from my spreadsheet list.

Thank you.
#2 : 09/05-22 19:48
David Lee
Posts: 1125
Save your list as a text file (csv or txt).

From the Menu Bar: Import->Data from CSV...
(By default AR will ask for a .csv file but any text file will do if you only have a single column of numbers).

Load your filenames into the List in the same order - then use an Add method...

Add: _<Csv:1>
At index: 0
Backwards
#3 : 09/05-22 22:28
Pedro Xavier
Posts: 2
Reply to #2:

You absolute hero, it worked!

Thank you so much!