You might consider using a beets query to find those. For example, you could 
use:

$ beet ls -p title:feat

to get the paths to audio files and then pipe it through `dirname` to get the 
enclosing directory:

$ beet ls -p title:mix | while read -r line; do dirname $line; done

and, finally, pipe that into `beet import`:

$ beet ls -p title:mix | while read -r line; do dirname $line; done | xargs -d 
"\n" beet import

There’s more on using `xargs` with `beet import` in this thread:
https://github.com/beetbox/beets/issues/422

Good luck!

Adrian

> On Oct 31, 2016, at 12:34 AM, kccourier <[email protected]> wrote:
> 
> It looks like there is no easy way to undo the FtInTitle plugin for the files 
> already in my library. It seems that update and move have no effect on files 
> already imported using the plugin so the only option is to import the files 
> again with the plugin disabled.
> 
> I either have to do a search for all folders containing "Feat." so I know 
> which folders I have to run a beet import command on or I have to run a beet 
> import -q for the entire library.
> 
> Neither option is desirable as the former involves way too much of my time 
> manually searching for folders to import while the latter involves way too 
> much unnecessary computer processing slowing down my system.
> 
> What I need is a batch file which will search my library and only run a beet 
> import -q for any folder containing an mp3 or flac file with "Feat." in the 
> filename.  I'm just not sure how exactly to get a batch file to do that.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "beets" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to