Jump to content

Regular expressions support for file search


Recommended Posts

Hi,

 

Does Alfred support regular expressions file search like find command in Unix?

I mean something like

image.png.12d9c3c7ba5e10514bb2bc6faa23fb2e.png

or

image.png.e1df15d5ddae265b9bb2193471f7a8f7.png

 

 

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 by ebleble
Link to comment

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...