# Multi-folder local image auto-tagging

**URL:** <https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153>\
**Category:** Support\
**Created:** [September 9, 2020, 12:52am UTC](https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153 "2020-09-09T00:52:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DDD](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/9fc348/32.png) [@DDD](https://community.mp3tag.de/u/DDD)\
**Post date:** [September 9, 2020, 12:52am UTC](https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153/1 "2020-09-09T00:52:14Z")

</div>

My music is set up in that a single folder and all its sub-folders is one album, within the folder there is music files and one or more local images which I wish to auto-tag as cover for all the song within the local folder.

to visualize:

/Music/A/song1.mp3  
/Music/A/song2.mp3  
/Music/A/pic1.jpg  
/Music/B/song3.mp3  
/Music/B/song4.mp3  
/Music/B/pic2.jpg

pic1.jpg will be the cover art for all songs in A  
pic2.jpg will be the cover art for all songs in B  
If more than one pic, autoselect the first image in Ascending Name sort

I have hundreds of folders set up in format like this and wish to automate cover art tagging as described, is this possible with mp3tag?

Thank you.

---

<div class="post-metadata">

**Author:** ![DDD](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/9fc348/32.png) [@DDD](https://community.mp3tag.de/u/DDD)\
**Post date:** [September 9, 2020, 1:34am UTC](https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153/2 "2020-09-09T01:34:05Z")

</div>

I think I am pretty close

C:\Users\D\Desktop\vv\ %\_directory%\ **(?).jpg**

The only hindrance now is how to write a format string that points to a jpg or png datatype file without designated file name.

Some sort of clever regex? Does regex even work in format string?

---

<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:** [September 9, 2020, 4:24am UTC](https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153/3 "2020-09-09T04:24:40Z")

</div>

Try an action of the type "Import cover from file" with  
Format string: `*.jpg`

---

<div class="post-metadata">

**Author:** ![DDD](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/9fc348/32.png) [@DDD](https://community.mp3tag.de/u/DDD)\
**Post date:** [September 10, 2020, 2:02am UTC](https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153/4 "2020-09-10T02:02:25Z")

</div>

It works. Thank you.

---

<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:28pm UTC](https://community.mp3tag.de/t/multi-folder-local-image-auto-tagging/50153/5 "2026-02-09T12:28:49Z")

</div>


