Simple command-line scripts that wrap interaction with Mac applications.
Pretty minimal right now but there's more to come.
Set files/folders' Finder tags from the command-line:
> tag red ~/Desktop/image.tiff ~/Documents/tmp.txt # add red tag > tag none # remove tag from cwd
Easily open files from the Terminal in applications which aren't the default editor associated with the filetype.
Open/activate a Mac application from the terminal
> app safari
… will open
> app acorn ~/Desktop/DSCF2375.tif ~/Desktop/DSCF2381.tif
... will open the images in
Acorn (assuming its installed), instead of the default application (most likely,
There are several shortcuts for applications with long names:
chrome→ Google Chrome
quicktime→ Quicktime Player
activity→ Activity Monitor
prefs→ System Preferences
View the source for a complete list
Change the profile settings in the active Terminal window:
> terminal-profile Pro
Create items in
Reminders.app from the command-line
> todo "Pick up milk on the way home"
Set the custom title of the active
> title "git"
Set the system volume from the command-line
> volume 0 > volume mute # same as 0 > volume 100 > volume max # same as 100 > volume 50
Create items in
Notes.app from the command-line
> cat foo.txt | note "Contents of foo.txt"
Display a notification
> notify --title "Title" --subtitle "Subtitle"
(Will use Scripting Notifications if installed.)
Plays the default OS X system beep sound (or another system sound if provided)
> beep [basso|blowfrog|funk|glass|hero|morse|ping|pop|purr|sosumi|submarine|tink]
All trademarks & copyrights remain the property of their respective owners.