# Action to copy field between two files

**URL:** https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805
**Category:** General Discussion
**Created:** [June 12, 2013, 3:04pm UTC](https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805 "2013-06-12T15:04:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Chris\_J](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e480ec/32.png) [@Chris\_J](https://community.mp3tag.de/u/Chris_J)
#### Post date: [June 12, 2013, 3:04pm UTC](https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805/1 "2013-06-12T15:04:00Z")

</div>

Hi all,

I am having to transcode many WMA files to Flac in order to use them with Music ip on my Logitech Squeezebox. Is it possible to write an action to copy certain fields from the existing WMA files to ther newly created Flac counterparts? ie: Cover art and custom fields which are not picked up during the conversion.

The location and file name is the same with the exception of the filename suffix:  
oldfile.WMA - newfile.Flac

Thanks,

Chris

---

<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: [June 12, 2013, 3:08pm UTC](https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805/2 "2013-06-12T15:08:26Z")

</div>

> [@Chris J](#):
>
> ... Is it possible to write an action to copy certain fields from the existing WMA files to ther newly created Flac counterparts?...

You can do this with the export function (which is then more script based) to create a text file first that you then read in for the empty files.

Or, if this is only a a rare occasion, the special functions from the file-list-context-menu to copy tags and paste tags might work just as nice - provided you have the same sequence and number of files for the source and the target files.

---

<div class="post-metadata">

### Author: ![Chris\_J](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e480ec/32.png) [@Chris\_J](https://community.mp3tag.de/u/Chris_J)
#### Post date: [June 12, 2013, 3:17pm UTC](https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805/3 "2013-06-12T15:17:12Z")

</div>

> [@ohrenkino](#):
>
> You can do this with the export function (which is then more script based) to create a text file first that you then read in for the empty files.
> 
> Or, if this is only a a rare occasion, the special functions from the file-list-context-menu to copy tags and paste tags might work just as nice - provided you have the same sequence and number of files for the source and the target files.

Thank you for the quick reply.

Could you explain the "file-list-context-menu" please. I am not familiar with it.

Thanks you.

Chris

---

<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: [June 12, 2013, 3:46pm UTC](https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805/4 "2013-06-12T15:46:22Z")

</div>

> [@Chris J](#):
>
> Thank you for the quick reply.
> 
> Could you explain the "file-list-context-menu" please. I am not familiar with it.
> 
> Thanks you.
> 
> Chris

Load the source files into MP3tag.  
Select the source files in the files list.  
Right-click on one of the selected files to open the context menu of the files list.  
Select the function "Copy tag".  
Load the target files into MP3tag.  
Make sure that they are in the same sequence as the source files were.  
Select the target files in the files list.  
Right-click on one of the selected files to open the context menu of the files list.  
Select the function "Paste tag".

Tags should now be tranferred.

---

<div class="post-metadata">

### Author: ![Chris\_J](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e480ec/32.png) [@Chris\_J](https://community.mp3tag.de/u/Chris_J)
#### Post date: [June 12, 2013, 4:01pm UTC](https://community.mp3tag.de/t/action-to-copy-field-between-two-files/14805/5 "2013-06-12T16:01:44Z")

</div>

> [@ohrenkino](#):
>
> Load the source files into MP3tag.  
> Select the source files in the files list.  
> Right-click on one of the selected files to open the context menu of the files list.  
> Select the function "Copy tag".  
> Load the target files into MP3tag.  
> Make sure that they are in the same sequence as the source files were.  
> Select the target files in the files list.  
> Right-click on one of the selected files to open the context menu of the files list.  
> Select the function "Paste tag".
> 
> Tags should now be tranferred.

Duh!!! Sorry, I was being thick. I didn't think of that, it will work perfectly.

Again, many thanks.

Chris
