# Is there still not a placeholder for folder total files?

**URL:** https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140
**Category:** General Discussion
**Created:** [November 20, 2022, 7:32pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140 "2022-11-20T19:32:34Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![JPMusic](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jpmusic/32/10483_2.png) [@JPMusic](https://community.mp3tag.de/u/JPMusic)
#### Post date: [November 20, 2022, 7:32pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/1 "2022-11-20T19:32:34Z")

</div>

I would like to create an action where "total tracks" are automatically filled with the number of files in the **folder** without using "%\_total\_files%" because that puts the number of files I'm working on. With a placeholder for how many files the folder contains, I could load multiple files from multiple folders. Is there any way I could do this?

---

<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: [November 20, 2022, 7:46pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/2 "2022-11-20T19:46:51Z")

</div>

> [@JPMusic](#):
>
> I could load multiple files from multiple folders. Is there any way I could do this?

Yes.  
Either drag and drop the folders you want to load from the explorer or use the "Add folder" function

Just a side note: Not all files that you see in MP3tag represent the files in a folder.  
A folder could also contain files that MP3tag does not support.  
Also, a filter could show fewer files of a folder than are actually present.  
But as you do not tell us what your use-case is, it is a little hard to tell you whether there is

> [@JPMusic](#):
>
> any way I could do this?

---

<div class="post-metadata">

### Author: ![JPMusic](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jpmusic/32/10483_2.png) [@JPMusic](https://community.mp3tag.de/u/JPMusic)
#### Post date: [November 20, 2022, 8:15pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/4 "2022-11-20T20:15:48Z")

</div>

I already know I can load multiple files from multiple folders.. My question was, **is there a placeholder for how many files a folder contains?** It would be very convenient for me.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 20, 2022, 8:18pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/5 "2022-11-20T20:18:14Z")

</div>

You can find all available placeholders in the documentation:

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

---

<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: [November 20, 2022, 8:21pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/6 "2022-11-20T20:21:07Z")

</div>

> [@JPMusic](#):
>
> My question was, **is there a placeholder for how many files a folder contains?**

No. There is no placeholder to show this property.

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [November 21, 2022, 1:33pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/7 "2022-11-21T13:33:57Z")

</div>

I use a simple method to fill the tracktotal field.

1. Open all music files of all those libraries in Mp3tag. Sort them by %\_path%. Select them all.
2. Click Auto-numbering Wizard. Select checkboxes: Save total count of tracks + Reset counter for each directory. Click: OK.
3. Run the Action Group below. (First place it in your `%appdata%\Mp3tag\data\actions\` folder.)

[Spelling corrections#Track number#Delete leading 0 + get tracktotal.mta](https://community.mp3tag.de/uploads/short-url/vwVxbohNPgaYuyJLjwLWi0iaGzs.mta) (293 Bytes)

_(I searched for this. Although it is a simple solution, no one has yet explained it in detail. There always are beginners.)_

---

<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: [November 21, 2022, 1:52pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/8 "2022-11-21T13:52:00Z")

</div>

> [@incifinci](#):
>
> Click Auto-numbering Wizard

It may be worthwhile to first save the original data from the TRACK field in a user-defined field to restore that data e.g. if the computed totals do not match the totals in a particular album.

Also, I would like to point out that any attempt to use PATH or similar properties to see "files in a folder" only shows the files handled by MP3tag. You don't see all the other files like txt, jpg, png, lrc etc.

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [November 21, 2022, 1:59pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/9 "2022-11-21T13:59:38Z")

</div>

> [@ohrenkino](#):
>
> It may be worthwhile to first save the original data from the TRACK field in a user-defined field to restore that data if the computed totals do not match the totals in a particular album.
> 
> Also, I would like to point out that any attempt to use PATH or similar properties to see "files in a folder" only shows the files handled by MP3tag. You don't see all the other files like txt, jpg, png, lrc etc.

I **only** use it for, what JPMusic wants:

> [@JPMusic](#):
>
> I would like to create an action where **"total tracks" are automatically filled** with the number of files in the **folder**

In this case, I think, neither is necessary. Only the music files need to be counted. But, of course, the Action Group can be supplemented according to individual needs.

Ohh... But yes, in the `Settings >> Tags >> Restrict incoming files to` only music files, excluding even cuesheets. It never occurred to me, that anyone would want to open other files in Mp3tag.

---

<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: [December 21, 2022, 2:00pm UTC](https://community.mp3tag.de/t/is-there-still-not-a-placeholder-for-folder-total-files/59140/10 "2022-12-21T14:00:36Z")

</div>

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