- set-extended-attribute! file attribute value #!rest optionsprocedure
Set extended attribute ATTRIBUTE on FILE to VALUE, and return an unspecified value.
VALUE may be a string or a blob.
In addition to #:no-follow, set-extended-attribute! allows the following two mutually-exclusive options:
#:create Raise error if attribute exists. #:replace Raise error if attribute does not exist. If neither option is specified, existing attribute values are silently overwritten.
(set-extended-attribute! "examples.scm" 'org.callcc "courtesy of Chicken") (get-extended-attribute "examples.scm" 'org.callcc) ; => "courtesy of Chicken"