RubyGems Navigation menu

xattr 0.1

= xattr == DESCRIPTION Xattr provides the xattr (setxattr, getxattr, removexattr, listxattr) functions in a nice object-oriented wrapper. Ruby/DL is used so no compilation of modules is necessary. Extended attributes extend the basic attributes associated with files and directories in the file system. They are stored as name:data pairs associated with file system objects (files, directories, symlinks, etc). == SYNOPSIS Using the library: require "xattr" xattr = Xattr.new("/path/to/file") xattr.list # => [...] xattr.get("...") xattr.set("...", "...") xattr.remove("...") Using the provided command-line tool: $ xattr README.txt com.macromates.caret $ xattr README.txt com.macromates.caret {column = 9; line = 26; } $ xattr README.txt com.macromates.caret "{column = 0; line = 0; }" {column = 0; line = 0; } $ xattr README.txt -com.macromates.caret {column = 0; line = 0; } $ xattr README.txt $ == REQUIREMENTS * Mac OS X 10.4 (for now...) == INSTALL Using rubygems: $ sudo gem install xattr Using setup.rb: $ sudo ruby setup.rb

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.1 - April 14, 2007* (16 KB)

Besitzer:

Autoren:

  • Daniel Harple

SHA 256-Prüfsumme:

3b7d3112f169502e7f19a438a61c5efecdb78b9fb62807bd3a30926a820e077b

Downloads insgesamt 5.986

Für diese Version 5.985

Lizenzen:

k.A.

Erforderliche Ruby-Version: > 0.0.0

Links: