Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 08-30-2008, 12:09 AM   #1
elesueur
Prospect
 
Join Date: Jan 2007
Posts: 10
@ symbol in directory listing

Hi,

I would like to know what the @ symbol in a mac osx directory listing means...

Code:
-rwxr-xr-x@ 1 elesueur  elesueur  -           0  1 Jun 12:54 lucida_handwriting.ttf
secondly, this file displays a size of zero, yet when I open it in finder, the font exists and the information there says it's 60kb...

Can anyone explain this?
elesueur is offline   Reply With Quote
Old 08-30-2008, 12:27 AM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,384
Quote:
Originally Posted by from 'man ls'
If the file or directory has extended attributes, the permissions field printed by the -l option is followed by a '@' character.

The extended attributes can be seen by using the 'xattr' command on that file:

xattr lucida_handwriting.ttf

I think it will show that the file has a "resource fork".
To see the size of the resource fork of that file, use:

ls -l lucida_handwriting.ttf/..namedfork/rsrc
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:54 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.