Hans Tammen Posted September 5, 2019 Share Posted September 5, 2019 Hi, I need to exclude files from searches in Alfred, but they should be available in Spotlight. Can't figure out how to do it... I like to find my DevonThink databases, but not the individual files within them. What did I overlook? Hans Link to comment
deanishe Posted September 5, 2019 Share Posted September 5, 2019 12 minutes ago, dfay said: tag them alfred:ignore That's likely not going to work super well, as it requires tagging every single file 2 hours ago, Hans Tammen said: I like to find my DevonThink databases, but not the individual files within them. What did I overlook? The best solution is probably to set up a File Filter that only considers the DevonThink database filetype (if that's possible). Alfred's search model is include-only: there is no blacklist/exclude option. So you have to approach it from a "how do I include only types X and Y" perspective, not a "how do I ignore type Z" one. Link to comment
dfay Posted September 5, 2019 Share Posted September 5, 2019 13 minutes ago, deanishe said: That's likely not going to work super well, as it requires tagging every single file I use Hazel to do this - since a DT database is a package you could just have Hazel add the tag to every file within it, I believe. deanishe 1 Link to comment
deanishe Posted September 5, 2019 Share Posted September 5, 2019 32 minutes ago, dfay said: I use Hazel to do this Ah, nice! It seems horribly inefficient, but as long as Andrew won't add blacklisting to Alfred, such dodgy workarounds are often all you're left with, I suppose. Link to comment
Hans Tammen Posted September 5, 2019 Author Share Posted September 5, 2019 Ah... I may try the Hazel approach. Inefficient maybe, but if that works it's something. I also didn't know that there is an alfred:ignore tag, which helps with other single files that appear occasionally! Thanks! Link to comment
dvcrn Posted September 9, 2019 Share Posted September 9, 2019 (edited) On 9/6/2019 at 6:10 AM, dfay said: tag them alfred:ignore Is that an actual tag now? I read about putting it in the Comments field at other places Also is this usable for folders or just for single files? Edited September 9, 2019 by dvcrn Link to comment
deanishe Posted September 9, 2019 Share Posted September 9, 2019 1 hour ago, dvcrn said: Is that an actual tag now? I read about putting it in the Comments field at other places It can be either. 1 hour ago, dvcrn said: Also is this usable for folders or just for single files? Depends what you mean. If you add the tag/comment to a folder, that folder will not appear in Alfred. It has no effect on the contents of the folder, however. Link to comment
the_archpadre Posted October 22, 2019 Share Posted October 22, 2019 Is there a way other than tagging to blacklist files? Alfred keeps trying to run the Podcasts app when I enter `it` for `iTerm 2`. But since it's a built-in app, the OS won't let me delete it or add tags or comments. Link to comment
Vero Posted October 22, 2019 Share Posted October 22, 2019 @the_archpadre There are a few options here: You can simply select iTerm a couple of times, and Alfred will learn from your usage, bringing iTerm to the top Assuming you're using Alfred 4, under Features > Default Results, click the Applications: "Options" button at the top, and uncheck "Match Application's keywords in default results". Podcasts matches "it" because "iTunes" will be in the app's additional keywords pre-set by Apple Otherwise, here's how you can tag System apps: https://www.alfredapp.com/help/features/file-search/tagging-files/#spotlight Make sure you type "reload" into Alfred after tagging to blacklist it. Cheers, Vero 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