SpaceJudas! Posted December 13, 2013 Share Posted December 13, 2013 I've been working on a hidden files workflow recently (https://github.com/spooch56/alfred-hidden-files) and I came upon a very interesting metadata tag: kMDItemInvisibleFileType. Unlike the kMDItemFSInvisible tag, it's not listed in apple's metadata reference, indicating that it was added by an outside app. Based on a fairly limited survey of people, I've noticed that it only seems to appear on the computers with Alfred and so my best guess is that Alfred adds this metadata tag to allow md indexing of hidden files. Does anyone else know about this for certain? Do you guys all have this tag as well? I'd really like to share my workflow but not if it only works for me. Any information you guys have would be excellent. Link to comment
Tyler Eich Posted December 14, 2013 Share Posted December 14, 2013 Yes. I found the tag on several folders, including: /usr /bin /Users/Tyler/Music/iTunes/sentinel In total, the command: mdfind -count -onlyin / "kMDItemInvisibleFileType== *" returned 33 results on my system. Alfred has been serving my Mac since the v2 betas. Current Version: Alfred 2 v2.1.1 (227) on OS X 10.9 (13A603) Link to comment
Andrew Posted December 14, 2013 Share Posted December 14, 2013 Based on a fairly limited survey of people, I've noticed that it only seems to appear on the computers with Alfred and so my best guess is that Alfred adds this metadata tag to allow md indexing of hidden files. Does anyone else know about this for certain? Alfred has a read-only view over your file metadata and doesn't add any metadata itself, so I'm not sure where the kMDItemInvisibleFileType flag is coming from, but it's not Alfred 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