Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enter multiple search patterns? #74

Open
pstein opened this issue Jan 7, 2022 · 1 comment
Open

How to enter multiple search patterns? #74

pstein opened this issue Jan 7, 2022 · 1 comment

Comments

@pstein
Copy link

pstein commented Jan 7, 2022

Assume I want to list only files which match the 3 different patterns then entering the following does not work:

*.pdf *.log *.jpg

Even when I concatenate them by a comma (instead of blanks) link in

*.pdf,*.log,*.jpg

it does not work.

How else can I achieve this?

@deadlydog
Copy link
Owner

Yeah, right now the API being used behind the scenes to search for files only supports a single search pattern; you can't provide multiple. You'd need to do the search 3 separate times, using *.pdf the first time, *.log the second time, and *.jpg the third time.

For the immediate time, I could update the tooltip and docs to mention that only a single search pattern is supported.

For the future, we may look at doing the filtering in the app to allow multiple search patterns, as well as being able to exclude certain patterns as well as suggested in #72. That would take a bit more dev work though. PRs are welcomed ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants