Jump to content
cduemmen

Advanced file search

Recommended Posts

I'm new to Alfred and already loving it. 

I'm working a lot with tags for my files and use hazel to auto-tag my scanned office papers. Using filesearch with tags works fine. But I want to narrow down the result with just adding a part of the filename. That's weired because alfred switches to search google now ... Am I missing something?

e. g. "tags invoice %customer name%

where 'invoice is my tag and %customer name% the variable for the actual customer I'm searching for

Share this post


Link to post
2 hours ago, cduemmen said:

alfred switches to search google now ... Am I missing something?

 

Those are Alfred's Fallback Searches. They're what Alfred shows when a search (or workflow) returns no results.

 

2 hours ago, cduemmen said:

%customer name% the variable for the actual customer I'm searching for

 

Variable? From where?

Share this post


Link to post

That's just the description of what I do. Replace %customer name% with a real name and you are done

E.g. 'tags invoice volkswagen'

Where the Tag invoice exists. But volkswagen is no Tag, it's part of the filename

Share this post


Link to post

Right. It sounded like you were expanding a variable…

 

To answer your question: you can't do that with the tags search. It searches tags only with AND semantics. So if you enter any query that matches no tags, you'll get no results.

 

You could probably create a File Filter that does what you want, though.

 

What I do with common tags like todo is create a Saved Search for all files tagged todo and then filter the files in the saved search in Alfred with my Smart Folders workflow.

Edited by deanishe

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...