I would like to me able to set (and get) a custom metadata attribute for any file.
What is the best way to do this?
Thanks
Right click and Info, or cmd + i when the file is selected in the finder will open an information panel and you can add data at the top that will be referenced in Spotlight. Is called Spotlight Comments. You can do this with directories as well. I am not sure if it is the best way but it is the only way i know of doing it.