Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Would rather ADD 'Where From' metadata TO files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Would rather ADD 'Where From' metadata TO files
Authored by: Michael_S on Dec 08, '10 09:10:00AM
xattr --help will give: xattr -w [-r] [-v] [-x] attr_name attr_value file [file ...].

Hence, to ad the attribute, run (in a Terminal window):

xattr -w com.apple.metadata:kMDItemWhereFroms http://www.foo.com/ filename
PS: The "delete" step in the original hint has the attribute name incorrect. It should be:
xattr -d com.apple.metadata:kMDItemWhereFroms /Path/To/File
Michael

[ Reply to This | # ]
Would rather ADD 'Where From' metadata TO files
Authored by: chucky23 on Dec 08, '10 01:03:42PM

Thanks for this. It is useful knowledge for me.



[ Reply to This | # ]