Saturday, August 21, 2010

A couple of useful Mac OS commands

open .

This opens the current directory in a new Finder window.

open -a Preview *.jpg

This opens a new Preview window with all files in current directory ending in 'jpg'.



Thursday, August 5, 2010

Experimenting with google command line utilties

It is really quite nice to be able to perform google services actions from the command line. I've often, in the past, wanted to control one GUI based app or another via a command line. It never was a high enough priority to implement that sort of thing though. I can see this being useful when I want to quickly blog about some new bugget of information I run into. Now I need to find this sort of thing for twitter.

I first posted this message using the google command line tool. I've gone back and fixed a typo plus added a link back to the Google Blog entry which introduces these tools.