Re: Spotlight comments - command line?
Re: Spotlight comments - command line?
- Subject: Re: Spotlight comments - command line?
- From: email@hidden
- Date: Mon, 18 Feb 2008 19:54:33 -0800
Thanks. This helps alot.
On Feb 18, 2008, at 5:28 PM, Tom Robinson wrote:
On 2008-02-19, at 11:56, email@hidden wrote:
Is there a way to access the Spotlight comments for files via the
command line?
Is there a way to change Spotlight comments via the command line?
You can get & set them through AppleScript, does that count (you
could use osascript)?
tell application "Finder" to set the comment of ThisFile to TheComment
You can also retrieve them with mdls:
mdls -name kMDItemFinderComment filename
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden