# How do I Remove albums with missing tracks

**URL:** https://discourse.beets.io/t/how-do-i-remove-albums-with-missing-tracks/504
**Category:** Help
**Created:** [October 29, 2018, 4:16pm UTC](https://discourse.beets.io/t/how-do-i-remove-albums-with-missing-tracks/504 "2018-10-29T16:16:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![matlads](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/matlads/32/168_2.png) [@matlads](https://discourse.beets.io/u/matlads)
#### Post date: [October 29, 2018, 4:16pm UTC](https://discourse.beets.io/t/how-do-i-remove-albums-with-missing-tracks/504/1 "2018-10-29T16:16:37Z")

</div>

Hi,

I have a mixed up music directory, with many full albums, and some with missing tracks. What I would like is a list (path) of the albums that are **not** missing any tracks!

I want to

1. move the complete albums into a new place out of the way (into _~/Music/beets_),
2. complete the incomplete ones out-of-band
3. periodically import the newly completed albums into beet

Cheers

- M -

---

<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: [October 29, 2018, 5:21pm UTC](https://discourse.beets.io/t/how-do-i-remove-albums-with-missing-tracks/504/2 "2018-10-29T17:21:20Z")

</div>

Hmm—I notice that the `missing` plugin provides a `$missing` field for templates and queries. Would `beet ls -a missing:0` work?

---

<div class="post-metadata">

### Author: ![matlads](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/matlads/32/168_2.png) [@matlads](https://discourse.beets.io/u/matlads)
#### Post date: [October 29, 2018, 6:10pm UTC](https://discourse.beets.io/t/how-do-i-remove-albums-with-missing-tracks/504/3 "2018-10-29T18:10:12Z")

</div>

@adrian Thanks for getting back to me.

The first time I run your suggestion, it returned nothing. So i just run `beet missing` first, in the hope that I can populate the library with the `$missing` field. and It seems to have worked in some way.

`beet ls -a missing:0 -f "\$id \$path"`

The results returned are fewer than I expected, but manual inspection seems to indicate that `$beets` is correct 😃

Cheers

- M -

---

<div class="post-metadata">

### Author: ![Mujambajecha](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Mujambajecha](https://discourse.beets.io/u/Mujambajecha)
#### Post date: [April 17, 2022, 10:17pm UTC](https://discourse.beets.io/t/how-do-i-remove-albums-with-missing-tracks/504/4 "2022-04-17T22:17:45Z")

</div>

> [@matlads](#):
>
> beet ls -a missing:0 -f “$id $path”

Times saver !! I was looking for exactly the same solution and this worked like a charm
