# Cleanup tags of files already in library

**URL:** <https://discourse.beets.io/t/cleanup-tags-of-files-already-in-library/1206>\
**Category:** Help\
**Created:** [April 10, 2020, 6:56pm UTC](https://discourse.beets.io/t/cleanup-tags-of-files-already-in-library/1206 "2020-04-10T18:56:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phirestalker](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@phirestalker](https://discourse.beets.io/u/phirestalker)\
**Post date:** [April 10, 2020, 6:56pm UTC](https://discourse.beets.io/t/cleanup-tags-of-files-already-in-library/1206/1 "2020-04-10T18:56:39Z")

</div>

I have imported (and deleted original files) my whole music collection. I noticed some quirky directory structure due to (I assume) quirky tags. I would like to run the auto-tagging process on them in place. Is this possible? Or do I need to delete the albums from the database and then re-import?  
Also, if I had used the autotagger on import, is beets smart enough to correct & vs and in artist and album names?

EDIT: figured out the retagging.

---

<div class="post-metadata">

**Author:** ![salamanders](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@salamanders](https://discourse.beets.io/u/salamanders)\
**Post date:** [June 26, 2020, 7:12pm UTC](https://discourse.beets.io/t/cleanup-tags-of-files-already-in-library/1206/2 "2020-06-26T19:12:43Z")

</div>

Halp - how did you do it? I have the same question.

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [June 26, 2020, 8:37pm UTC](https://discourse.beets.io/t/cleanup-tags-of-files-already-in-library/1206/3 "2020-06-26T20:37:14Z")

</div>

You basically just need to import the same files again and beets figures it out! Or you can use the -L flag to import based on a query.
