29 Sep 2005

adding arbitrary metadata through spotlight: impossible

last night i was poking around spotlight trying to find a way to modify the "keywords" part of arbitrary files so that i could inject my own keywords. turns out after a fruitless search, there is no way to arbitrarily add metadata to files.

the only way is the write an mdimporter to synchronise separate database with the keywords. the supposed reasoning for why apple doesn't allow people to do this is because that would allow metadata to become out of sync with the content, so it is better to regenerate the metadata everytime. so much for making the filesystem the database.

You can reply to me about this on Twitter: