Skip to main content

macOS Finder scripts

Project description

Installation

$ [sudo] pip install mac-finder

Scripts usage

command usage
finder usage: finder command [args]
scripts/finder-alias usage: finder-alias source target
scripts/finder-close-bg usage: finder-close-bg
scripts/finder-comment usage: finder-comment path [comment]
scripts/finder-exec usage: finder-exec command [args ...]
scripts/finder-icon usage: finder-icon path image
scripts/finder-reveal usage: finder-reveal path
scripts/finder-selection usage: finder-selection

Examples

create Finder alias

$ finder-alias ~/Downloads ~/Downloads2

read/write Finder comment

$ finder-comment path "comment value"
$ finder-comment path
comment value

set Finder icon

$ finder-icon path image.png
$ finder-reveal ~/git

get Finder selection

$ finder-selection
/Users/username/Desktop
/Users/username/Downloads

execute command from every selected Finder directory

$ finder-exec python setup.py install

python-readme-generator

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page