0

I am trying to use the setfattr command in the command line, but it tells me command not found. I'm assuming this means that the package is not installed, however from what I understand OSX should have extended attributes enabled by default. Any ideas?

kag359six
  • 1,693
  • 2
  • 16
  • 21

1 Answers1

1

There is no such command as setfattr. Maybe that's a typo for setxattr or fsetxattr, but those aren't commands either, they are C APIs. The command you want is xattr.

JWWalker
  • 22,385
  • 6
  • 55
  • 76
  • It really doesn't exist? Here it says it's a Linux command http://www.tutorialspoint.com/unix_commands/setfattr.htm oh well, thank you for the correction though – kag359six Feb 03 '16 at 01:18
  • 1
    @kag359six, Mac OS X is based on FreeBSD, not Linux. – JWWalker Feb 03 '16 at 01:25