Archive for May, 2009

Resizing Itunes Window with Applescript

This weekend my girlfriend and I moved all the stuff I had in my private office/homestudio out, to create a room for our son. Because of this my old mac was put in the living room, and is now a primitive media center with the TV as it’s only screen. The resolution as a result [...]

May 31, 2009  Tags: , ,   Posted in: Development  One Comment

Bash Oneliner for Counting Files

I needed to find a way to count the number of files in a directory and only output that number. Bash is still my best friend for this sort of thing – especially with a little help from google.

ls -1 | wc -l

by the way – the answer was 2062 files.

May 14, 2009  Tags: , ,   Posted in: Development  2 Comments