# Compare filename with entry in CSV file and fill the Tag

**URL:** <https://community.mp3tag.de/t/compare-filename-with-entry-in-csv-file-and-fill-the-tag/62465>\
**Category:** Support\
**Created:** [October 19, 2023, 8:41am UTC](https://community.mp3tag.de/t/compare-filename-with-entry-in-csv-file-and-fill-the-tag/62465 "2023-10-19T08:41:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaasHaas62](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@PaasHaas62](https://community.mp3tag.de/u/PaasHaas62)\
**Post date:** [October 19, 2023, 8:41am UTC](https://community.mp3tag.de/t/compare-filename-with-entry-in-csv-file-and-fill-the-tag/62465/1 "2023-10-19T08:41:47Z")

</div>

I have a list in Excel (CSV) Top 2000 year 1999.  
Is it possible to compare the filename in an directory with the list and if the entries exists fill the tags? And if yes how?

Love to read suggestions.

PaasHaas62

---

<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:** [October 19, 2023, 8:44am UTC](https://community.mp3tag.de/t/compare-filename-with-entry-in-csv-file-and-fill-the-tag/62465/2 "2023-10-19T08:44:30Z")

</div>

See the documentation:

> **[Import Tags from Text Files – Mp3tag Documentation](https://docs.mp3tag.de/converters/import-tags-from-text-files/)**
>
> Documentation on Text File to Tag, a converter to import tags from text files. Mp3tag is the universal Tag Editor.

---

<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:** [October 19, 2023, 8:46am UTC](https://community.mp3tag.de/t/compare-filename-with-entry-in-csv-file-and-fill-the-tag/62465/3 "2023-10-19T08:46:46Z")

</div>

> [@PaasHaas62](#):
>
> Is it possible to compare the filename in an directory

Yes, you you can use `%_filename_ext%` or `%_path%` to perform matching based on the file name or the abolute file path respectively.  
As found in the mentioned [documentation](https://docs.mp3tag.de/converters/import-tags-from-text-files/#matching-files-from-the-text-file-to-mp3tags-file-list).

---

<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:** [November 18, 2023, 8:46am UTC](https://community.mp3tag.de/t/compare-filename-with-entry-in-csv-file-and-fill-the-tag/62465/4 "2023-11-18T08:46:50Z")

</div>

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