How do I launch a bash script from Finder in OS X?
I'm OK working at the CLI, but my little script is not so loved by my GUI-bound colleagues.
|
How do I launch a bash script from Finder in OS X? I'm OK working at the CLI, but my little script is not so loved by my GUI-bound colleagues. |
||||
|
|
|
For being Finder friendly, a bash script must have the |
|||||||||||
|
|
@mouviciel's answer will work great, but for added panache, try Platypus, which allows you to create actual Application Bundles from various scripting languages, including Bash shell scripts. One of the advantages to this is you can give it a nice looking icon :) |
|||
|
|
|
I've just released http://github.com/arbinger/bashapp I needed this to build a few service launch scripts that could be clicked on in Finder, as opposed to asking users to open a Terminal. It also provides simple script obfuscation via encryption, which can be handy if you need to distribute the program. If you wanted to add icons, you can do so by adding the |
||||
|
|