ebleble Posted April 13 Share Posted April 13 (edited) Hi, Does Alfred support regular expressions file search like find command in Unix? I mean something like or In Unix, I can simply search with following commands find . -name "*somephrase*.pdf" find . -name "*.pdf" This method doesn't work in Alfred. Is there a chance it will support regular expression in the future? I would like to avoid clicking to create workflows just to achieve simple file search with regular expressions. Edited April 13 by ebleble Link to comment
vitor Posted April 15 Share Posted April 15 Welcome @ebleble, Alfred uses the Spotlight metadata. You don’t need glob patterns (regular expressions are similar but distinct) and can just type somephrase pdf or pdf. ebleble 1 Link to comment
ebleble Posted April 15 Author Share Posted April 15 Let's assume I would like to find all the AVI files with following pattern in their name MVI_{DIGIT}{DIGIT}4{DIGIT}.AVI Examples: MVI_3747.AVI MVI_4048.AVI MVI_3046.AVI MVI_3047.AVI With terminal, following command works as expected find . -name "MVI_??4?.AVI" How can I find those files with Alfred? Link to comment
vitor Posted April 15 Share Posted April 15 What you seem to be looking for is fuzzy finding. FZF is a community workflow for that. ebleble 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now