Was bedeutet das @ in ls -l?

Was bedeutet das @ in ls -l?

Ich verwende Mac OSX. Wenn ich tippe, ls -lsehe ich etwas wie

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

Was bedeuten die @'s?

Antwort1

Es zeigt an, dass die DateiErweiterte Attributexattr. Sie können das Befehlszeilenprogramm verwenden, um sie anzuzeigen und zu ändern:

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

Antwort2

Zumindest in Snow Leopard können Sie Folgendes tun, um weitere Informationen anzuzeigen:

ls -l@

Antwort3

Es verfügt über erweiterte Attribute – siehe die OSX-ManpageHierfür weitere Informationen zu ls.

Antwort4

Ich denke, es bedeutet, dass die Datei/das VerzeichnisErweiterte Attribute.

verwandte Informationen