# Import covers-jpg into selected audio files (or folder) with identical name

**URL:** https://community.mp3tag.de/t/import-covers-jpg-into-selected-audio-files-or-folder-with-identical-name/59202
**Category:** Support
**Created:** [November 27, 2022, 4:52pm UTC](https://community.mp3tag.de/t/import-covers-jpg-into-selected-audio-files-or-folder-with-identical-name/59202 "2022-11-27T16:52:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![clalos33](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@clalos33](https://community.mp3tag.de/u/clalos33)
#### Post date: [November 27, 2022, 4:52pm UTC](https://community.mp3tag.de/t/import-covers-jpg-into-selected-audio-files-or-folder-with-identical-name/59202/1 "2022-11-27T16:52:15Z")

</div>

Hi, I need to create an action to import Jpg-CoverArt into a group of selected Flac-audio files with identical names. The Jpg-Covers could be in the same folder as the audio files or in a separate folder (Es.D/Covers). Pretty much the exact opposite of an export with the string "$replace(%\_folderpath%,%\_workingpath%,'D:\Covers')%\_filename%".  
I personally tried to write the string and looked for something similar in the community but with no success. Thanks in advance for those who want to help me solve it and best regards

---

<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: [November 27, 2022, 4:58pm UTC](https://community.mp3tag.de/t/import-covers-jpg-into-selected-audio-files-or-folder-with-identical-name/59202/2 "2022-11-27T16:58:33Z")

</div>

Filter for files that do not have an embedded cover:  
%\_covers% MISSING

Create an action of the type "Import cover from file"  
Format string: `%_filename%.jpg`

This will probably lead to a number of error messages for all the files where there is no cover file with the specified filename either because there is no file at all or the filenames do not match.

Press F3 twice to refresh the filter.  
Create another action of the type "Import cover from file, this time with  
Format string: `d:\covers\%_filename%.jpg`  
and see how many successful imports you get now.

---

<div class="post-metadata">

### Author: ![clalos33](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@clalos33](https://community.mp3tag.de/u/clalos33)
#### Post date: [November 27, 2022, 6:22pm UTC](https://community.mp3tag.de/t/import-covers-jpg-into-selected-audio-files-or-folder-with-identical-name/59202/3 "2022-11-27T18:22:46Z")

</div>

I have tested the 2 suggested solutions and they work very well! Thanks again.

---

<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: [December 27, 2022, 6:23pm UTC](https://community.mp3tag.de/t/import-covers-jpg-into-selected-audio-files-or-folder-with-identical-name/59202/4 "2022-12-27T18:23:21Z")

</div>

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