# Change setcover for many files

**URL:** <https://community.mp3tag.de/t/change-setcover-for-many-files/62604>\
**Category:** Support\
**Created:** [October 30, 2023, 4:14am UTC](https://community.mp3tag.de/t/change-setcover-for-many-files/62604 "2023-10-30T04:14:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MBashiri](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ecae2f/32.png) [@MBashiri](https://community.mp3tag.de/u/MBashiri)\
**Post date:** [October 30, 2023, 4:14am UTC](https://community.mp3tag.de/t/change-setcover-for-many-files/62604/1 "2023-10-30T04:14:00Z")

</div>

Hi.  
I have a number of files that I want to extract Cover as a cover file name using the program and based on the file name. Please give me some guidance.

Regrads,  
Mahdi

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [October 30, 2023, 6:14am UTC](https://community.mp3tag.de/t/change-setcover-for-many-files/62604/2 "2023-10-30T06:14:56Z")

</div>

> **[Export Cover to File – Mp3tag Documentation](https://docs.mp3tag.de/actions/export-cover/)**
>
> Documentation on the Export Cover action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

As format string you use: `%_filename%`

But do you really want to use the filename as image name?  
Normally a cover is album based and the same for all files of an album.  
So if you have several files of an album you get many of the same album covers saved with the name of songs.  
Why don't you want not save with the name of `%albumartist% - %album%`?

---

<div class="post-metadata">

**Author:** ![Casual\_Tea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/casual_tea/32/18886_2.png) [@Casual\_Tea](https://community.mp3tag.de/u/Casual_Tea)\
**Post date:** [October 30, 2023, 4:03pm UTC](https://community.mp3tag.de/t/change-setcover-for-many-files/62604/3 "2023-10-30T16:03:05Z")

</div>

Assuming that he has 1 album per folder he could also go the route of first filtering for only the first track of each album via:

```auto
%track% IS 1 OR %track% IS 01

```

To account for nonpadded and padded track numbers.  
And then he could simply extract the covers of these with a default name like "Cover.jpg" or "Folder.jpg" and end up with exactly 1 image per folder.

---

<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 29, 2023, 4:03pm UTC](https://community.mp3tag.de/t/change-setcover-for-many-files/62604/4 "2023-11-29T16:03:28Z")

</div>

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