Searching in a subset of folders?

Hi, in a directory I have 100 folders (each with subfolders). How can I tell DO to search only in the first 50 of those folders?

Just by number or is there another characteristic (e.g. name, date, etc.) that could be used to filter them?

I don't think there is a simple way to tell Opus to only search the first N folders but you can filter which folders are searched based on other criteria.

Sorry, I meant selected folders.

Just drag the selected folders into the list below "Find in:" in the Find panel.

(The list, not the single-line path field directly above it. The list is usually empty so it might look like an empty rectangle if you've never put anything into it before.)

Remember to clear the "Find in:" path field as well, since Opus will search both that path and the ones in the list if both are non-empty.

Or create a button using this code (seems to work, i just did a quick test):

Find IN {F} 

[quote="Christiaan"]Or create a button using this code (seems to work, i just did a quick test):

Find IN {F} 

Christiaan, thank you, this works very well!

What I was trying to achieve:

Getting with the above search all the .wav files inside the selected folders. Then drag all the found .wav files from the DOpus Search window to the PowerEnc 2.32 window and convert all the .wav files to .flac. Unfortunately PowerEnc has no checkbox to delete the .wav files after having converted them to .flac.

So I ask if anybody maybe has a button ready which does the following with one cklick: Convert all the .wav files inside the selected folders to .flac and then delete the .wav files after successful conversion.

If not I will have to build it myself.

I found a partial solution:

cd C:\FLAC C:\FLAC\flac.exe --delete-input-file -V -8 {allfilepath$}
This works with selected .WAV files in the Lister or from the DOpus Search window. How could this be extended to work also with selected folders containing .WAV files?