PDA

View Full Version : Select/Copy "Where From" Data From Finder's "More Info"???!!!




Darkroom
Sep 28, 2008, 09:19 PM
i have HUNDREDS of photos that have "Where From" metadata listing the URL from where the image was downloaded... i need to copy all these URLs for a paper's citations, and would rather not spend a week manually typing the address...

i just spent 2 hours looking for a way to do this... i'm totally lost... anyone have any ideas how i can simply select/copy/paste this info from Finder's More Info? it's REALLY annoying how i can see this information but have no access to it...



lee1210
Sep 28, 2008, 09:54 PM
mdls -name kMDItemWhereFroms <filename>

From the terminal should do it. You can script this with a shell script, etc. to grab all of the URLs from a directory, etc.

-Lee

Forgot, credit where credit's due:
http://www.macosxhints.com/article.php?story=20050517161414507
was where i found this.

Darkroom
Sep 29, 2008, 12:20 AM
thanks a lot lee! :)