在mac
里面查看文件时,无意中发现有的权限后面带了一个"@
"。
好奇心很强的我必须知道那是啥玩意。
在这个帖子里"ls" on Mac and extended file attributes找到了答案,实际上人家标题就说明了,这是mac的拓展文件属性。
这里就引申出来一个指令"xattr
",man
一下可以看到详细的描述。
XATTR(1) BSD General Commands Manual XATTR(1)
NAME
xattr -- display and manipulate extended attributes
SYNOPSIS
xattr [-lrsvx] file