A shell command (binary executable) allowing the manipulation of the extended attributes of a file. Extended attributes allow the arbitrary association of name:data (i.e., key-value) pairs with file system objects.
Be the first to post a text review of xattr. Rate and review a project by clicking thumbs up or thumbs down in the right column.
The range of systems for this xattr utility is being widened to include all UNIX-like systems with suitable filesystems. It may be redundant in many cases. xattr is a common unix command line utility for manipulating extended attributes on supporting filesystems. (In other words, attaching metadata tags to files in a manner native to the filesystem.) This binary implementation of xattr is intended to be back-compatible with the xattr python script of Mac OS 10.5.
The last package submitted unfortunately had a major problem - a dangling function, giveHelp(), that should have been a call to usage() instead, and cruft in the xcode project. This has been repaired; also, the error handling has been fixed, and malloc errors should finally be a thing of the past. Feedback is as always welcome.
Changed the type of bufferSize from unsigned (size_t) to signed(ssize_t).
A apparently stable (although alpha) version of the 'xattr' shell command has been released, written in C. The motivation is to provide a backwards-compatible, stable, and fast replacement for the python script that Apple had distributed with Leopard 10.5.0. An Xcode project file is included, but the program is small enough that it may be easily compiled by hand.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?