Skip to main content

macOS Finder scripts

Project description

Installation

$ [sudo] pip install mac-finder
$ [sudo] npm i -g mac-finder

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

frontmost (1 or 0)

$ finder-frontmost
0

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac-finder-2020.12.3.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

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