Friday, January 24
Mac OS X Hints - Execute shell scripts in the Finder I'm not sure if this has been reported before, but there is a simple (and quite slick) way of running shell scripts from the finder.
Simply append '.command' to the script name,e.g. test.command, when the script is double clicked from the Finder a terminal window will open and the script is excuted.
The script will of course need execute permissions (chmod ug x will do the trick) in order to run.
Simply append '.command' to the script name,e.g. test.command, when the script is double clicked from the Finder a terminal window will open and the script is excuted.
The script will of course need execute permissions (chmod ug x will do the trick) in order to run.