Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

6 Answers 6

up vote 32 down vote accepted

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

xattr --list filename
xattr --set propname propvalue filename
xattr --delete propname filename
share|improve this answer
1  
In 10.8 (Mountain Lion), --list is not valid. It's -l. –  mehaase Oct 24 '12 at 15:20
add comment

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

ls -l@
share|improve this answer
add comment

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
add comment

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

share|improve this answer
add comment

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

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.