开发者

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

开发者 https://www.devze.com 2023-03-30 03:37 出处:网络
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 x

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

精彩评论

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

关注公众号