开发者

How can I manipulate the OS X file extended attributes (specifically, the color bits) from Ruby?

I would like to use a Ruby script to set the color attribute of files in an OS X directory, e.g., "Set files older than 2 weeks to red." Is 开发者_开发百科this possible in Ruby?


Take a look at the xattr gem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜