Yes -h is help but can't say nothing about your -x parameter...
I try xattr -w -x myMetaSize 10 filepath but return me error
At the moment I can only assign "string" value not Real or Integer.
How I can do this???
Hello Steve,
Unless I'm wrong, an extended attribute is basically a name/value pair
associated to a filesystem item (file, folder...), where the value is
an arbitrary sequence of bytes.
That is, extended attributes aren't typed; it's up to the user (or to
an application) to decide how to interpret that sequence.
So, for example, let's create a file with an extended attribute:
So, should you insist on writing a numeric value in a "binary" format
instead of a textual representation, you would have to decide on a
storage size -for example 4 bytes- and a storage order - for example
big endian: