Skip to content

How to use regex in import -L queries? #5256

Answered by arogl
dustinpaluch asked this question in Q&A
Discussion options

You must be logged in to vote

If I have an artist with three albums:

Foo Foo 2 Foo 3

And I want to re-import Foo with beet import -L <query>, how do I query for Foo and not Foo 2 and 3? beet import -L Foo$ doesn't work.

try beet imp 'albumartist::^Foo$'

If on windows using cmd.exe the swap the ' for "

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dustinpaluch
Comment options

@arogl
Comment options

Answer selected by dustinpaluch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants