title: Setting File Metadata with Applescript or Automator
body: <p>I know how to set file keywords (com.apple.metadata:kMDItemKeywords) using a command line process that involves creating a plist, converting to binary  and using xattr.   It works but is painful.   I'm hoping there is a better way.</p>
  
  <p>Can anyone explain how to set file metadata using Apple's tools?  Or point to websites that cover this?</p>
  
  <p>All pointers appreciated.</p>