Skip to content

glob does a better job at fuzzy finding files#6

Open
9mdv wants to merge 1 commit into
miroslavvidovic:masterfrom
9mdv:master
Open

glob does a better job at fuzzy finding files#6
9mdv wants to merge 1 commit into
miroslavvidovic:masterfrom
9mdv:master

Conversation

@9mdv
Copy link
Copy Markdown

@9mdv 9mdv commented Jan 13, 2023

Multiple file types can also be searched using the -o flag in the find command, as for my case where I have both epub and pdf files in my books directory:

readarray -t F_ARRAY <<< "$(find "$BOOKS_DIR" -type f -name '*.epub' -o -name '*.pdf')"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant