[OS X TeX] Leopard Quick Look & TeX

Kino quinon at rio.odn.ne.jp
Sat Dec 1 01:14:36 CET 2007


On 2007-12-01, at 6:07 AM, Herbert Schulz wrote:

> I can't seem to find a man page for xattr and it sure seems useful!


Execute it with an unsupported option, e.g. "-?". That is a common  
behavior of Unix executables.


$ xattr -h
usage: xattr [-l] file [file ...]
        xattr -p [-l] attr_name file [file ...]
        xattr -w attr_name attr_value file [file ...]
        xattr -d attr_name file [file ...]

The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.

options:
   -h: print this help
   -l: print long format (attr_name: attr_value)



Kino





More information about the macostex-archives mailing list