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
Hello Steve,
Are you thinking about attributes with binary instead of textual values?
If you've a sample file with such attributes, perhaps could you have a
look at it with
xattr -p -x <attrname> <filepath>
and then try to create the wanted hex string and write it back with
xattr -w -x <attrname> <attrvalue> <filepath>