Query items without certain field


How can I query for items which do not have a certain field? I’m trying to find albums without ReplayGain information and the query I built is unhelpful: $ beet ls -a ^rg_album_gain.

Must be something simple, but I couldn’t figure it out from the docs.

Hi—this thread is relevant:

See the tip therein about how to use a regex query to match an empty field.

1 Like

Thanks, Adrian. This did it.