Mattress: a command line tool for working with Linux extended attributes (xattrs)

The comfiest way to work with Linux extended attributes (xattrs) written in pure Rust and made of delicious, fibrous Open Source code.

Details

By default, the get subcommand outputs a tab-separated table with a column order of path, field, value. The value bytes are written to stdout as-is without decoding.

By contrast, when outputting JSON, Mattress attempts to decode values as UTF-8, filling in a default codepoint when the decoding fails.

History

Mattress was developed in conjunction with the Audiotater audio annotation tool.

License

This software is licensed under GPL version 3 only

Examples