Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding Spotlight Metadata



Hi,

even is is not true AS question (but is related to) how is possible to add a metadata to a file with integer or real value?

This command that can be invoked with do shell script works:

xattr -w com.apple.metadata:myName iPhone /Users/alex/Desktop/hello.txt

using mdls /Users/alex/Desktop/hello.txt you can see the new metadata named myName as string

But I cannot find the way to add for example another metadata as int or real or number.

Steve



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.