• Wincent
    Open
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Dealing with OS X extended attributesEdit

Created 5/1/2015, updated 10/14/2017

Files with extended attributes show up with @ at the end of their mode string in the output of ls -l.

See what the attributes are with: ls -l@

Delete an attribute with xattr -d [attr] [file...] (eg. xattr -d com.apple.quarantine *.crt)

Print info about an attribute (for example the app that created it) with xattr -p [attr] [file..].

  • hfs
  • macos
  • wiki
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell using React, Relay and GraphQL (with help from Git, Redis and Neovim).