# Export in Mp3tag for Mac

**URL:** https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098
**Category:** Mac
**Tags:** feature
**Created:** [February 23, 2021, 3:18am UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098 "2021-02-23T03:18:39Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Buck](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c5a1d2/32.png) [@Buck](https://community.mp3tag.de/u/Buck)
#### Post date: [February 23, 2021, 3:18am UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/1 "2021-02-23T03:18:39Z")

</div>

Regarding the export, I like the options I find most worthwhile are:  
Album name (tab) track number (tab) track title (tab) track artist (tab) track length (tab) disc number

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 23, 2021, 7:11am UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/2 "2021-02-23T07:11:27Z")

</div>

> I've moved your post to #Mac from the German category 🙂

The Export currently exists in a slightly different way and only as hidden feature 🧐

If you select files in Mp3tag for Mac and copy via Cmd+C, a textual representation of the files is copied to the clipboard.

You can modify the format of this textual representation using a [formatstring](https://community.mp3tag.de/t/format-strings-and-available-placeholders/51688) and the `defaults` command via Terminal.app

```plaintext
defaults write app.mp3tag.Mp3tag CopyFormat '"%album%$char(9)%track%$char(9)%title%$char(9)%artist%$char(9)%_length%$char(9)%discnumber%"'

```

It's a little bit nerdy, but should get the job done. Ah yes, and you can always go back to the default behavior via

```plaintext
defaults delete app.mp3tag.Mp3tag CopyFormat

```

---

<div class="post-metadata">

### Author: ![Buck](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c5a1d2/32.png) [@Buck](https://community.mp3tag.de/u/Buck)
#### Post date: [February 23, 2021, 5:25pm UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/3 "2021-02-23T17:25:07Z")

</div>

> [@Florian](#):
>
> `defaults write app.mp3tag.Mp3tag CopyFormat '"%album%$char(9)%track%$char(9)%title%$char(9)%artist%$char(9)%_length%$char(9)%discnumber%"'`

That is fantastic! Thank you. I'm trying to modify the track number and disc number so it uses this format as well: (%track%,2) but I'm not sure how to add that. Any suggestions?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 23, 2021, 5:28pm UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/4 "2021-02-23T17:28:32Z")

</div>

Great! This is with leading zeros using the `$num()` [scripting function](https://community.mp3tag.de/t/scripting-functions/51689).

```nohighlight
defaults write app.mp3tag.Mp3tag CopyFormat '"%album%$char(9)$num(%track%,2)$char(9)%title%$char(9)%artist%$char(9)%_length%$char(9)$num(%discnumber%,2)"'

```

---

<div class="post-metadata">

### Author: ![Buck](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c5a1d2/32.png) [@Buck](https://community.mp3tag.de/u/Buck)
#### Post date: [February 23, 2021, 5:52pm UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/5 "2021-02-23T17:52:15Z")

</div>

Perfect, thank you so much!

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [May 19, 2021, 10:05am UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/6 "2021-05-19T10:05:39Z")

</div>

I've just released Mp3tag v1.2.0 that supports exporting to text and CSV files via Cmd+E or _File → Export..._.

---

<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: [June 18, 2021, 10:06am UTC](https://community.mp3tag.de/t/export-in-mp3tag-for-mac/52098/7 "2021-06-18T10:06:26Z")

</div>

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