BramEsposito Posted March 2, 2016 Share Posted March 2, 2016 Not sure if I'm about to ask a stupid question, but it's quite some time I'm trying to achieve the following with Alfred: I want to find a file by it's name but inside a specific folder: e.g. "/Users/bram/Documents/projects/project-1/kickoff/briefing.md" when having a lot of files with this name in similar folders. I would then search Alfred for "kickoff" or "briefing" but cannot find it because I have too many results. Is there a way to specify "project-1" as the directory to search for a file "briefing"? Link to comment
dfay Posted March 2, 2016 Share Posted March 2, 2016 Yes -- see https://www.alfredapp.com/help/workflows/inputs/file-filter/-- you can set up a file filter to limit the search scope to a particular folder. BramEsposito 1 Link to comment
BramEsposito Posted March 3, 2016 Author Share Posted March 3, 2016 Thanks, it looks like the search scope needs to be defined per "File Filter" input? How do I feed it an argument from the Alfred search box? Link to comment
BramEsposito Posted March 9, 2016 Author Share Posted March 9, 2016 So, it looks like this is not possible. Let me try to explain again what I am trying to do: 1. define the folder in which to search by typing the name: "foldername", 2. selecting it 3. and then searching for an item in it: folder or file by typing its' name "filename" And the search in 3. would be limited to the folder selected in 2. Is something like this coming up in Alfred 3? Link to comment
Andrew Posted March 9, 2016 Share Posted March 9, 2016 Is something like this coming up in Alfred 3? Absolutely - this is going to be super easy in Alfred 3, this is what the workflow would look like: The first filter is configured to search for folders. The { } utility uses the folder which was found, and sets the search scope on the second file filter. Cheers, Andrew BramEsposito 1 Link to comment
BramEsposito Posted March 10, 2016 Author Share Posted March 10, 2016 This is awesome. Thank you so much. Link to comment
BramEsposito Posted May 10, 2016 Author Share Posted May 10, 2016 (edited) Anybody wondering how to do this with the Alfred 3 beta, it comes with the examples: Select "Dynamic File Search" and type ff in the Alfred search box. Thanks again Andrew :-) Edited May 10, 2016 by BramEsposito Link to comment
jipnet Posted July 3, 2022 Share Posted July 3, 2022 Andrew's image is not displaying. Can someone reload it please? I have the exact same question. tx Link to comment
vitor Posted July 3, 2022 Share Posted July 3, 2022 @jipnet See the post right above yours. This is an example Workflow which ships with Alfred. Link to comment
jipnet Posted July 4, 2022 Share Posted July 4, 2022 Thanks. Now, is it possible to drill down to multiple nested folders? Or is it just for one level down? 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