什么是家里的`ls -l @`中的com.apple.FinderInfo?

时间:2009-07-18 23:56:59

标签: macos 32-bit data-structures

我跑

~ master $ ls -l@

我得到了

total 3
drwx------+ 41 Masi  staff   1.4K Jul 18 03:20 Downloads
drwxr-xr-x@ 18 Masi  staff   612B Jul 14 10:41 Dropbox
        com.apple.FinderInfo      32B 
drwx------+ 54 Masi  staff   1.8K Jul  4 20:35 Library

com.apple.FinderInfo似乎be some data-structure

ls'选项@应仅显示

  

显示扩展属性键和   尺寸。

然而,它displays a row with 32B表明我是一个数据结构,如

0000   00 00 00 00 00 00 00 00 00 00 FF FF FF FF 00 00    ................
0010   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

我想知道ls -l@显示数据结构的原因。

为什么ls -l@会显示我家中的数据结构?

2 个答案:

答案 0 :(得分:1)

com.apple.FinderInfo行指的是上一行的文件,即:Dropbox。

答案 1 :(得分:1)

这是一个扩展属性。 “com.apple.FinderInfo”是键,二进制数据是值。