맥OS
[mac osx] file attribute에 @가 있는 것은?
개발자_이훈규
2016. 2. 12. 20:15
attribute extend라는 것인데 아직은 정확히 개념을 잡지 않고 사용법만 익힌 후 넘어간다.
Use the xattr
command. You can inspect the extended attributes:
$ xattr s.7z
com.apple.metadata:kMDItemWhereFroms
com.apple.quarantine
and use the -d
option to delete one extended attribute:
$ xattr -d com.apple.quarantine s.7z
$ xattr s.7z
com.apple.metadata:kMDItemWhereFroms
you can also use the -c
option to remove all extended attributes:
$ xattr -c s.7z
$ xattr s.7z
xattr -h
will show you the command line options, and xattr has a man page.