Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Mac OSX. When I type ls -l I see something like

drwxr-xr-x@ 12 xonic  staff    408 22 Jun 19:00 .
drwxr-xr-x   9 xonic  staff    306 22 Jun 19:42 ..
-rwxrwxrwx@  1 xonic  staff   6148 25 Mai 23:04 .DS_Store
-rw-r--r--@  1 xonic  staff  17284 22 Jun 00:20 filmStrip.cpp
-rw-r--r--@  1 xonic  staff   3843 21 Jun 21:20 filmStrip.h

What do the @'s mean?

share|improve this question
up vote 62 down vote accepted

It indicates the file has extended attributes. You can use the xattr command-line utility to view and modify them:

xattr -l file # lists the names of all xattrs.
xattr -w attr_name attr_value file # sets xattr attr_name to attr_value.
xattr -d attr_name file # deletes xattr attr_name.
xattr -c file # deletes all xattrs.
xattr -h # prints help
share|improve this answer
In 10.8 (Mountain Lion), --list is not valid. It's -l. – mehaase Oct 24 '12 at 15:20
if you want to find all files of a type and remove the quarantine attr in OSX: find . -iname '*.ext' -print0 | xargs -0 xattr -d com.apple.quarantine. That's why I found this question. – jcollum Jun 26 '15 at 21:13
also, for SEO: @ is the "at symbol" – jcollum Jun 26 '15 at 21:14
Didn't work for me. Had to use xattr -d instead of --delete. – geoidesic Nov 28 '15 at 10:35
@jcollum better yet, find . -type f -xattr -print | xargs -0 xattr -d com.apple.quarantine (not sure if the -type f is needed). Although for some reason neither command is working for me at the moment... This one worked for me: find . -type f -xattr -exec xattr -d com.apple.quarantine {} \; – Michael Mar 3 at 18:32

In Snow Leopard, at least, you can do this to show more information:

ls -l@
share|improve this answer

It has extended attributes - See the OSX man page here for more information on ls.

share|improve this answer

You may want to have a look at this post in the Apple mailing lists. It explains that the @ shows that the Finder has extended attributes other than ACL.

share|improve this answer

I think it means that the file/directory has extended attributes.

share|improve this answer

On OSX, this indicates the presence of metadata associated with the file.

share|improve this answer
It doesn't mean symbolic link on Linux either--symbolic links are denoted by an l in the first column of permissions, or broken links by a @ at the end of the path, not at the end of the permissions string. – B.R. Aug 10 '10 at 19:51
Got it, edited. – kbyrd Aug 10 '10 at 19:53

In addition to Michael Mrozek's answer:

On OSX 10.10 (Yosemite) you can have to use these attrx parameters:

xattr -l file
xattr -w attr_name attr_value file
xattr -d attr_name file
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.