Introduction
Extended attributes (xattr), while (sort of) supported under linux, are somewhat of a second class citizen. ProFUSE makes use of them to reveal custom ProDOS information (such as resource forks, file types, and creator types). For debugging and verification, we present the xattr utility
Compiling
Note: OS X has an xattr utility (with a different syntax). You can, of course, compile and use this one as well.
Usage
xattr list filename [attribute names ...]
xattr dump filename [attribute names ...]
xattr read filename attribute
xattr write filename attribute
If no attribute names are specified, all attributes will be listed or dumped, accordingly. read and write read or write data from stdin or stdout, respectively.
Examples
xattr is not ProDOS/ProFUSE specific, so you can use it on other file systems. Assuming you can find other files with extended attributes...