Re: Spotlight comments - command line?
Re: Spotlight comments - command line?
- Subject: Re: Spotlight comments - command line?
- From: Tom Robinson <email@hidden>
- Date: Tue, 19 Feb 2008 14:28:31 +1300
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden