# Text files export/import, with 1 text file by folder

**URL:** https://community.mp3tag.de/t/text-files-export-import-with-1-text-file-by-folder/8222
**Category:** Support
**Created:** [April 10, 2009, 8:32am UTC](https://community.mp3tag.de/t/text-files-export-import-with-1-text-file-by-folder/8222 "2009-04-10T08:32:32Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![BoraBora](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@BoraBora](https://community.mp3tag.de/u/BoraBora)
#### Post date: [April 10, 2009, 8:32am UTC](https://community.mp3tag.de/t/text-files-export-import-with-1-text-file-by-folder/8222/1 "2009-04-10T08:32:32Z")

</div>

Hi,

Haven't been there for a while, but let me say first that MP3Tag is nicer than ever. ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:") However, there's something I can't seem to achieve, probably because I'm doing it the wrong way.

My goal is to save in a text file any tag that can't be deduced from the path/filename (musicians, band members, producer etc.). I can't use a single file for the whole collection because I often reorganize it (add or delete folders etc.). So I went the "_1 folder = 1 file_" way.

Here's my folder structure:

\<Artist\>\<Album Artist\> ¦ ¦ ¦ \<Disc\> ¦ ¦ .wv

To export my tags, I'm using this filename:

```
%_folderpath%%_directory%.txt

```

And the script code is (reduced to 3 tags for this example):

```
$loop(%_path%)%producer%|$meta_sep(musicians,\\\\)|%label%
$loopend()

```

All is well: the result is one text file in each folder (album, single, EP etc.), formatted like this, with one line by track:

```
Nile Rodgers|Tommy Mandell\\\\Steve Ferrone|Reprise
Don Was|Sara Lee\\\\Philippe Saisse\\\\Sonny Emory|Reprise
Don Was|Sara Lee\\\\Sonny Emory\\\\|Reprise
(etc.)

```

Now's the problem: how can I reimport these tags?

If I understand correctly, the "Convert \> Text file - Tag" is only working with one text file for the whole operation. But my way is to have one text file by folder, and I have more than 3000 folders. ![<_<](https://community.mp3tag.de/uploads/default/original/1X/5996dbb474c88b8f9fc49f09dc3858d081055a2d.gif "<\_<")

The "_Import text file_" action, is very nice, but again it seems I can't use it: the whole text is added to one field only. I thought I would import each line to its track, in a tag named "Whole" or something, than use a "Split fields by separator" action. But to achieve this, I need each line in the text file to be added to the right track, instead of every line added to all tracks.

I'm pretty sure there's a workaway. Maybe I'm doing the export the wrong way? If anybody can put me on track with this problem...

---

_[View the full topic](https://community.mp3tag.de/t/text-files-export-import-with-1-text-file-by-folder/8222)._
