How can I add OS X “tags” to files programmatically?

前端 未结 9 1574
轻奢々
轻奢々 2021-01-29 22:23

Since Mavericks, OS X has had the ability to tag & colour files in Finder.

\"finder

Is there any

9条回答
  •  死守一世寂寞
    2021-01-29 22:49

    The OpenMeta framework is a third-party standard for adding metadata to OS X files using extended attributes. It is used by a number of third-party applications.

    Or you can use the XATTR command to manipulate the extended attributes via command line.

提交回复
热议问题