luckman212 Posted August 20, 2019 Share Posted August 20, 2019 (edited) macOS: 10.14.6 (18G87) Alfred: 4.0.3 b1092 I use `xattr -w com.apple.metadata:kMDItemKeywords` to add keywords to certain apps/files/folders to make searching easier. This works, but it seems Alfred has trouble when there are multiple keywords assigned. Take the example below, where I have tagged the "BackupLoupe" app with some keywords: The keywords are timemachine, machine and time. Specifying any SINGLE keyword works, e.g. Even this works, strangely (separating keywords by comma, space): But not this (space only): Or this (comma only) In "regular Spotlight" it works fine: I think this is a bug in how Alfred processes multiple keyword metadata. Edited August 20, 2019 by luckman212 Link to comment
Andrew Posted August 21, 2019 Share Posted August 21, 2019 Alfred's built in search works as designed (less noise), so the behaviour you are seeing is correct. You have control over file search behaviour if you use a file filter in a workflow. For example, to arbitrarily search keywords, you would use something similar to this: You can add in other fields if you want to search by e.g. display name also. Here is more info on using file filters: https://www.alfredapp.com/help/workflows/inputs/file-filter/ Cheers, Andrew Link to comment
luckman212 Posted August 24, 2019 Author Share Posted August 24, 2019 Thanks for the reply. Ok, I'll experiment with a custom file filter workflow. This is a minor thing, just thought it might have been a bug is all. 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