Rename files from text file

That worked. Thanks. Now I have another challenge. I have a list of filenames in the following format:
01 - The Surfaris
02 - The New Dimensions
03 - The Beach Boys
There are 30 filenames. I would like to use the convert text file - tag to change the filenames. I have examined the documentation to do that and I have tried it without success. Here is what I have tried so far:
$num(%track%,2). %title%
$num(%track%,5). %title%
None of these work. Please advise what I am doing wrong.

What is the contents of the text file?
But in general: you can only rename files with Convert>Tag-Filename or functions that can access _FILENAME.
To rename files from a list in a text file you need to import that data into a tag field first and then use the contents of that tag field in the named functions.

I have a text file containing file names. Each file name begins on a new line. I have a list of mp3 music files open in MP3TAG. What I want to do is import the file names from the text file into the Filename field of my mp3 files. How do I do that?

as I said: you first have to import the data from the text file to a (user-defined? dummy?) tag field.
Then you trigger either an action or the Convert>Tag-Filename function to rename the files.

If this is the list of filenames and it's in the format TRACK - TITLE, you could also simply import the data to the respective fields via

%track% - %title%

Note that the $num() scripting function isn't available at importing from text files.

After that, you can use Convert → Tag - Filename with

$num(%track%,2) - %title%

to rename the files to match the contents of the text file.

When I ripped my music CD to my hard drive, here is what I wound up with:
Filename Title
01 Track 01.mp3 Sisters of Mercy
The MP3 files already have titles as you can see from above example but the filename is wrong. I want to import only the filenames from text file. How do I do that?

You can skip the text file part then and rename directly from the titles in the MP3s:

Somehow I am not adequately expressing what I want to to. Referring to the following example, I would like the Filename field to be 01 - Sisters of Mercy.
Filename Title
01 Track 01.mp3 Sisters of Mercy
. .
. .
. .
29 Track 29.mp3 Cloudy Days
I would like toe Filenames to be Title prefixed with "01 - " through "29 - "
I have a text file with 01- Sisters of Mercy through 28 - Cloudy Days, one entry per line. I would like to replace the Filename field with the entries in my text file.

To get from that data and fill the tag data I suggest
Mask: %track% Track %dummy%
to get just the track number into the field track.
As you have already date in TITLE:

You can then apply Convert>Tag-Filename with
Format string: $num(%track%,2) - %title%

If you still insist on your approach with the data in the text file (which is more complicated IMHO), then have a look at the documentation:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.