Mac – Tips und Tricks

run shell scripts from finder

here 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.

Open Finder in Current Directory

open .

To open your home directory in finder run this:

open ~

Your documents:

open ~/Documents

Mac Ports für xephem:

von: http://xephem.darwinports.com/

holt man sich das portfile, kopiert es in einen neuen Ordner

> mkdir testfolder

und startet

> sudo port install testfolder

und alles läuft reibungslos (getestet unter Snow Leopard mit xephem 3.7.4)


This entry was posted in IT/Software/etc. and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>