# Basic .txt export

**URL:** https://community.mp3tag.de/t/basic-txt-export/11957
**Category:** Export
**Created:** [May 2, 2011, 3:57pm UTC](https://community.mp3tag.de/t/basic-txt-export/11957 "2011-05-02T15:57:07Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dikiz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dikiz](https://community.mp3tag.de/u/dikiz)
#### Post date: [May 2, 2011, 3:57pm UTC](https://community.mp3tag.de/t/basic-txt-export/11957/1 "2011-05-02T15:57:07Z")

</div>

Hi, Im looking for a basic .txt export according the following format :

```
%year% - %artist% - %title% (%year%) %genre% -

```

Thanks to anybody who helps 🙂

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [May 2, 2011, 4:45pm UTC](https://community.mp3tag.de/t/basic-txt-export/11957/2 "2011-05-02T16:45:09Z")

</div>

Look at the **txt\_taglist** example.

---

<div class="post-metadata">

### Author: ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)
#### Post date: [May 14, 2011, 3:50pm UTC](https://community.mp3tag.de/t/basic-txt-export/11957/3 "2011-05-14T15:50:24Z")

</div>

> [@dikiz](#):
>
> Hi, Im looking for a basic .txt export according the following format :
> 
> ```
> %year% - %artist% - %title% (%year%) %genre% -
> 
> ```
> 
> Thanks to anybody who helps 🙂

How do you want it sorted? I used my own sort method (artist, album by year, disc, track) in the example below:

```
$filename(%USERPROFILE%\Desktop\MP3 Archive.txt,utf-8)
$loop($if2(%artistsort%,%artist%)%year%$if2(%albumsort%,%album%)%discnumber%%track%)
%year% - %artist% - %title% (%year%) %genre%
$loopend()

```

---

<div class="post-metadata">

### Author: ![T3KN0GH057](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/8e8cbc/32.png) [@T3KN0GH057](https://community.mp3tag.de/u/T3KN0GH057)
#### Post date: [November 11, 2012, 4:35am UTC](https://community.mp3tag.de/t/basic-txt-export/11957/4 "2012-11-11T04:35:27Z")

</div>

Lets say I have lyrics i want to export to a text file with the same name as the audio file (because i'm converting to another format and don't want to lose my lyrics.) How would i go about doing this?

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 11, 2012, 6:11am UTC](https://community.mp3tag.de/t/basic-txt-export/11957/5 "2012-11-11T06:11:50Z")

</div>

For one file only you can use this export script ...

(one text line)**$filename(%\_folderpath%%\_filename%'.USLT.txt',UTF-8)$if(%UNSYNCEDLYRICS%,$regexp($regexp(%UNSYNCEDLYRICS%,'\A...\|.\*\|(.+)\Z','$1'),'\A[\r\n\t]\*|[\r\n\t]\*\Z',),)**

The following thread leads to proposals from users, Dano and DetlevD, how to export unsyncedlyrics text for a bunch of files at once ...  
[/t/13645/1](https://community.mp3tag.de/t/13645/1)

DD.20121111.0832.CET

---

<div class="post-metadata">

### Author: ![T3KN0GH057](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/8e8cbc/32.png) [@T3KN0GH057](https://community.mp3tag.de/u/T3KN0GH057)
#### Post date: [November 12, 2012, 6:25pm UTC](https://community.mp3tag.de/t/basic-txt-export/11957/6 "2012-11-12T18:25:11Z")

</div>

> [@DetlevD](#):
>
> For one file only you can use this export script ...
> 
> (one text line)**$filename(%\_folderpath%%\_filename%'.USLT.txt',UTF-8)$if(%UNSYNCEDLYRICS%,$regexp($regexp(%UNSYNCEDLYRICS%,'\A...\|.\*\|(.+)\Z','$1'),'\A[\r\n\t]\*|[\r\n\t]\*\Z',%DUMMY%),%DUMMY%)**
> 
> The following thread leads to proposals from users, Dano and DetlevD, how to export unsyncedlyrics text for a bunch of files at once ...  
> [/t/13645/1](https://community.mp3tag.de/t/13645/1)
> 
> DD.20121111.0832.CET

Thanks

---

<div class="post-metadata">

### Author: ![sylvain.dmde](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sylvain.dmde](https://community.mp3tag.de/u/sylvain.dmde)
#### Post date: [April 8, 2014, 7:52am UTC](https://community.mp3tag.de/t/basic-txt-export/11957/7 "2014-04-08T07:52:29Z")

</div>

Hello, I read the forum and I'm not above ais is if my problem applies. But here I would like to export my lyrics in a .txt file but with a different file for each selected track. Here is my command line but unfortunately it allows me export lyrics of each track in one .txt file :

$filename(txt,utf-8)$loop(%\_path%)%unsyncedlyrics%$loopend()

Would you have a line of a different command to use .txt file separate ? Thank you for your reply.
