attr
brew install attr
v2.5.2
GPL-2.0-or-later
C library and command-line tools to get, set, and list extended attributes on filesystem objects.
Why you might care
Extended attributes (xattr) are metadata key-value pairs stored on files and directories; attr provides the low-level interface to read and manipulate them. Essential for build systems, backup tools, and access-control implementations that need to preserve or inspect file metadata beyond standard Unix permissions. Most workflows interact with xattr via higher-level tools, but attr is the foundational library and CLI for direct manipulation.
2.1k
30-day installs · #958
7.7k
90-day · #915
49.5k
365-day · #695
Links
- https://savannah.nongnu.org/projects/attr
- Brew formula source: Formula/a/attr.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"getfattr",
"setfattr",
"xattr"
],
"build_dependencies": [],
"categories": [
"library",
"file-utility",
"sysadmin"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Manipulate filesystem extended attributes",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:35:37+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "attr",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://savannah.nongnu.org/projects/attr",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "attr - Summary [Savannah]",
"installs_30d": 2079,
"installs_365d": 49455,
"installs_90d": 7732,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-2.0-or-later",
"llm_generated_at": "2026-06-20T23:48:06+00:00",
"llm_model": "claude-haiku-4-5",
"name": "attr",
"oldnames": [],
"one_liner": "C library and command-line tools to get, set, and list extended attributes on filesystem objects.",
"optional_dependencies": [],
"rank_30d": 958,
"rank_365d": 695,
"rank_90d": 915,
"raw_hash": "8bb83d5143c8ccea",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/a/attr.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.5.2",
"versioned_formulae": [],
"why_use_this": "Extended attributes (xattr) are metadata key-value pairs stored on files and directories; attr provides the low-level interface to read and manipulate them. Essential for build systems, backup tools, and access-control implementations that need to preserve or inspect file metadata beyond standard Unix permissions. Most workflows interact with xattr via higher-level tools, but attr is the foundational library and CLI for direct manipulation."
}