# Importing tags from one library to another

**URL:** https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192
**Category:** Support
**Created:** [July 4, 2018, 11:46pm UTC](https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192 "2018-07-04T23:46:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MetalGeek464](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b782af/32.png) [@MetalGeek464](https://community.mp3tag.de/u/MetalGeek464)
#### Post date: [July 4, 2018, 11:46pm UTC](https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192/1 "2018-07-04T23:46:48Z")

</div>

I have two libraries, one of MP3 files and one of flac. Each library has over 6000 songs but the flac library is a subset of the MP3. Everything is named the same between common files in both libraries. All the tags in the MP3 library are up to date. What I want to do is export the tags from the MP3 library, edit the export file to reflect the .flac file extension and the different file paths and then import the whole lot in the flac library updating-any matches. I have not found a way to do this so it "works". This issue appears to be the mismatch in number of files and the need to select files as part of the text file to tag import.

is there way to update a whole library from a file of tags so it updates whereit finds a match using %\_Path% assuming for and skips what is missing?

Export format:  
$filename(txt,utf-8)$loop(%\_path%)%\_path% / %artist% / %albumartist% / %album% / %title% / %track% / %discnumber% / %year% / %genre%  
$loopend()

Export File:  
M:\portable\Amorphis\Circle\01 - Shades of Gray.mp3 | Amorphis | Amorphis | Circle | Shades of Gray | 1/9 | 1/1 | 2013 | Progressive Metal

libraries:  
M:\Lossless  
M:\Portable

Thanks for any help.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [July 5, 2018, 5:04am UTC](https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192/2 "2018-07-05T05:04:52Z")

</div>

I think you have to use %\_filename% instead of %\_path%  
Also, the FILENAME should be included in the export data.  
The example that you gave looks like a mock-up as the separating characters do not match.

Did you know that if you have the source files and the target files in the same order and selected matching numbers then you can transfer the tags with copy/paste from the source to the target. So the first target file gets the data from the first source file, the second from the second and so on.

See also here:

> [@Copy mp3 idv3 tags to flac tags](https://community.mp3tag.de/t/copy-mp3-idv3-tags-to-flac-tags/7671/2):
>
> Hi Mark, you can use Mp3tag's [:mt\_export:] Export feature with, e.g., txt\_taglist as export configuration to export the tags to a flat file or just load both your MP3s and your FLACs and use [Ctrl+C]/[Ctrl+V] to copy/paste the tags from the MP3s to the FLACs. Kind regards, Florian

or here:

> [@How to automate Copying MP3 tags to FLAC files in batches](https://community.mp3tag.de/t/how-to-automate-copying-mp3-tags-to-flac-files-in-batches/7073):
>
> MP3TAG is a very useful program, much appreciated. I am converting over from MP3 to FLAC files. My MP3 files already have customized tags viewable in MP3TAG, so they would be very time consuming to re-create. I am trying to figure out the most efficient way in which to copy over these MP3 tags to the FLAC files. I assume I will set this up by placing each pair of MP3 and FLAC files in the same directory, and with the same file name and path, only differing in the extension. I know how to do…

---

<div class="post-metadata">

### Author: ![MetalGeek464](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b782af/32.png) [@MetalGeek464](https://community.mp3tag.de/u/MetalGeek464)
#### Post date: [July 5, 2018, 3:29pm UTC](https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192/3 "2018-07-05T15:29:57Z")

</div>

Thanks for the tips. I changed the delimiter in the export after I copied it. Everything's works if the files selected match the text file its when their aren't matches in the FLAC library when things break. I'll look at the copy and paste, that may be faster than trying to get this to work.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [July 6, 2018, 5:23am UTC](https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192/4 "2018-07-06T05:23:38Z")

</div>

> [@MetalGeek464](#):
>
> if the files selected match the text file its when their aren't matches in the FLAC library when things break

To import masses of data from a text file you have to use the function  
Convert\>Text file-Tag.  
To get some alignment between data and files, you have add the filename, preferably %filename\_ext% to each record, so append your report by this field.  
After the export is generated, replace the source filename extension with the target filename extension, e.g. mp3 becomes flac.  
Now try to import.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/importing-tags-from-one-library-to-another/42192/5 "2026-02-09T12:27:30Z")

</div>


