Project

fspath-mac

0.0
No release in over 3 years
Low commit activity in last 3 years
FSPath methods for mac (move_to_trash, color labeling, spotlight comments, …)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.0

Runtime

>= 2, < 4
 Project Readme

fspath

Better than Pathname

Build Status

OS X stuff

Move to trash:

FSPath('a').move_to_trash

Get finder label (one of :none, :orange, :red, :yellow, :blue, :purple, :green and :gray):

FSPath('a').finder_label

Set finder label (:grey is same as :gray, nil or false as :none):

FSPath('a').finder_label = :red

Get spotlight comment:

FSPath('a').spotlight_comment

Set spotlight comment:

FSPath('a').spotlight_comment = 'a file'

Copyright

Copyright (c) 2010-2019 Ivan Kuchin. See LICENSE.txt for details.