# Copy tag from one track to empty field on another track

**URL:** https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129
**Category:** Support
**Created:** [October 2, 2024, 9:49am UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129 "2024-10-02T09:49:09Z")
**Posts on this page:** 8
**Page:** 2

<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: [October 2, 2024, 3:54pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/21 "2024-10-02T15:54:33Z")

</div>

> [@mamema](#):
>
> if one file with label from this album is listed, stop with this album listing files

Not that I know - as MP3tag does not group files together that have the same data in a tag field.  
So it would be down to your export script to get the data for an album only from 1 file.  
Perhaps

> [@mamema](#):
>
> $loop(%track%)

is not the best criterion as the files should be treated by ALBUM and not by TRACK.  
Have you tried `$loop(%album%,1)` or even `$loop(%albumartist% %album%,1)` for the filtered files?

---

<div class="post-metadata">

### Author: ![mamema](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@mamema](https://community.mp3tag.de/u/mamema)
#### Post date: [October 2, 2024, 4:06pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/22 "2024-10-02T16:06:12Z")

</div>

> [@ohrenkino](#):
>
> $loop(%albumartist% %album%,1)

no of course i haven't 😀  
This is the icing on the cake  
Thank you very much!

---

<div class="post-metadata">

### Author: ![mamema](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@mamema](https://community.mp3tag.de/u/mamema)
#### Post date: [October 2, 2024, 4:15pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/23 "2024-10-02T16:15:13Z")

</div>

so to sum it up for the next person in need.

Even though telling me first filling a tag value of the same field from another track isn't possible, the following works. My example was/is %label% works of course for other tag fields too  
First create export file:

$filename(New export file.txt,utf-8)$loop(%albumartist% %album%,1)%label%$loopend()

Second filter your files with the mp3tag filter

LABEL PRESENT

Third export with the above export file with the path

%\_folderpath%\00 csv tag dump of label.csv  
set the flag "One file per Directory"

Forth  
delete mp3tag FILTER setting

Fivth  
select your files again or use a filter like

NOT LABEL PRESENT

Sixth

use quick action import text file

set tag field LABEL  
use path %\_folderpath%\00 csv tag dump of label.csv

Done!

---

<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: [October 2, 2024, 4:38pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/24 "2024-10-02T16:38:15Z")

</div>

> [@mamema](#):
>
> NOT LABEL PRESENT

A shorter filter would be  
label MISSING

> [@mamema](#):
>
> Even though telling me first filling a tag value of the same field from another track isn't possible, the following works.

The original statement is still valid as right now you do not import the data from another tag field but from a text file outside the metadata of another file.  
Other suggestions in this thread were to rename the folder or use the tag panel.  
All these had in common that the new data had to be visible from the individual file and therefore not be incorporated in other files.  
The only exception would have been the approach via the tag panel that collects the data from all the selected files.

---

<div class="post-metadata">

### Author: ![mamema](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@mamema](https://community.mp3tag.de/u/mamema)
#### Post date: [October 2, 2024, 4:42pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/25 "2024-10-02T16:42:13Z")

</div>

the tag panel advice i didn't get it.  
There, if tags with differen t values are selected you have three options

and value is one value valid for all selected files, which means overwriting different values with one value. Didn't see this as an solution.

---

<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: [October 2, 2024, 4:46pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/26 "2024-10-02T16:46:19Z")

</div>

> [@mamema](#):
>
> and value is one value valid for all selected files

This is also true for the solution with the text file as it assumes that there is only 1 contents in LABEL for 1 album and that gets exported to the text file and then imported to all the filtered files.

---

<div class="post-metadata">

### Author: ![mamema](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@mamema](https://community.mp3tag.de/u/mamema)
#### Post date: [October 2, 2024, 4:48pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/27 "2024-10-02T16:48:08Z")

</div>

yeah, but because the flexibility of the %\_folderpath% variable you can select 2000 files and it still works. With the tag panel you can select ONE album

---

<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: [November 1, 2024, 4:48pm UTC](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129/28 "2024-11-01T16:48:10Z")

</div>

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

[Previous page](https://community.mp3tag.de/t/copy-tag-from-one-track-to-empty-field-on-another-track/66129.md?page=1)
