<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kdmurray.blog &#187; mac</title>
	<atom:link href="http://kdmurray.net/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdmurray.net</link>
	<description>The crossroads of life and tech</description>
	<lastBuildDate>Sun, 20 May 2012 21:42:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Running Shell Scripts from the Finder in OS X</title>
		<link>http://kdmurray.net/2012/02/27/running-shell-scripts-from-the-finder-in-os-x/</link>
		<comments>http://kdmurray.net/2012/02/27/running-shell-scripts-from-the-finder-in-os-x/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 08:43:24 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Soapbox]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[bad apple]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=1190</guid>
		<description><![CDATA[One of the things that drives me insane about the Mac on occasion is the ability of OS X to make some of the simplest &#8220;power-user&#8221; tasks very difficult. Case in point &#8211; the ability to execute a shell script from a finder window (or by extension, the desktop). In most sane operating systems, including [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1206" title="Bad Apple Logo" src="http://kdmurray.net/wp-content/uploads/2012/02/applelogo-150x150.png" alt="Bad Apple" width="150" height="150" />One of the things that drives me insane about the Mac on occasion is the ability of OS X to make some of the simplest &#8220;power-user&#8221; tasks very difficult. Case in point &#8211; the ability to execute a shell script from a finder window (or by extension, the desktop).</p>

<p>In most sane operating systems, including Linux and Windows, if you double-click on an executable file, it executes. It&#8217;s just that simple. If you create a batch file on Windows (anything ending in .bat or .cmd), the operating system treats that file type as executable and will try to run the contents as command-line commands. In Linux, an operating system which is similar under the hood to OS X, you need to set the &#8220;executable&#8221; bit in the permissions. This is certainly more of a super-user type task than simply renaming the file, but still quite simple &#8212; and consistent across the POSIX world&#8230; except for Apple.</p>

<p><code>chmod +x myscript.sh</code></p>

<p>So the question is, how do I do this on my Mac? The answer I&#8217;ve been given by several people until today was that you would need to use AppleScript or Automator (or Xcode) to create a program that could be run from the Mac GUI. As ludicrous as it seemed, Apple&#8217;s tendency to force users to do things the &#8220;Apple way&#8221; made that quite believable. However I found a <a title="Run shell scripts from Finder" href=" http://adamyoung.net/OS-X-Run-Shell-Scripts-From-Finder" target="_blank">post today on Adam Young&#8217;s blog</a> from back in 2008 which showed that it is, in fact, possible to do this &#8212; it&#8217;s just a bit harder than on any other OS. Essentially you have to do both the Linux (<a title="chmod on Wikipedia" href="http://en.wikipedia.org/wiki/Chmod" target="_blank">chmod</a>) step, and the Windows (specific file extension) step.</p>

<p><code>mv myscript.sh myscript.command
chmod +x myscript.command</code></p>

<p>You need to use the .command extension for the Finder to actually attempt to run your shell script. An identical file with the execute bit set but with a .sh extension will simply open up in Xcode (or whatever editor you have set for .sh files).</p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2012/02/27/running-shell-scripts-from-the-finder-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Podcast Roundup &#8211; New (to me) Apple &amp; Mac Podcasts</title>
		<link>http://kdmurray.net/2011/10/12/podcast-roundup-new-to-me-apple-mac-podcasts/</link>
		<comments>http://kdmurray.net/2011/10/12/podcast-roundup-new-to-me-apple-mac-podcasts/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 16:57:07 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Podcasts]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[good]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os ken]]></category>
		<category><![CDATA[mac power users]]></category>
		<category><![CDATA[nosillacast]]></category>
		<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[podcasts]]></category>
		<category><![CDATA[typical mac user]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=1010</guid>
		<description><![CDATA[I was on the hunt for some new Mac and Apple podcasts after becoming frustrated with the amount of blatant fanboyism and un-necessary Microsoft and Windows bashing I was hearing on the shows I had subscribed to. I wanted more shows that take an even-handed approach like Mac OS Ken or a lighthearted approach like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/15319336@N07/2060971197/" title="podcast_subscribe by derrickkwa, on Flickr"><img class="alignleft" style="margin: 4px;" src="http://farm3.static.flickr.com/2036/2060971197_0d2927c866_m.jpg" alt="podcast_subscribe" width="96" height="96" /></a>I was on the hunt for some new Mac and Apple podcasts after becoming frustrated with the amount of blatant fanboyism and un-necessary Microsoft and Windows bashing I was hearing on the shows I had subscribed to. I wanted more shows that take an even-handed approach like <a href="http://macosken.com/">Mac OS Ken</a> or a lighthearted approach like <a href="http://podfeet.com/">the Nosillacast</a>. I put a call out on Twitter and Google plus for recommendations and was given a couple of great new (to me) shows to listen to.</p>

<h2><a href="http://macpowerusers.com/">Mac Power Users</a></h2>

<p>This show is absolutely brilliant. I&#8217;ve only been subscribed for the past week or so, but I&#8217;ve gone back and reviewed the last 10 episodes.</p>

<p><a href="http://twitter.com/katiefloyd">Katie</a> and <a href="http://twitter.com/macsparky">David</a> do a great job of covering topics in enough detail to provide a complete review without getting into too many inanities. There are typically two types of shows. The topic-shows provide a deep-dive on a specific topic filled with lots of tips, tricks and keyboard shortcuts. The other show type is a &#8220;workflow&#8221; show where they typically bring on a guest to talk about how they use Mac and iOS products to get their work done productively.</p>

<h2><a href="http://twitter.com/victorcajiao">Typical Mac User</a></h2>

<p>I listened to the Typical Mac User a number of years ago, shortly after</p>

<p><a href="http://twitter.com/victorcajiao">Victor</a> started the podcast I suspect, and for whatever reason drifted away from it. When <a href="https://plus.google.com/102752999035610394074/posts">George Starcher</a> suggested over G+ that I check it out again, I found that I really enjoyed it. I&#8217;ve listened to a few different episodes in the past week which ranged from uber-beginner intros to OS X Lion, through to highly-involved automator/applescript discussions The show provides a good balance of introductory, mid-range and technical discussion and offer a range of guests to get insights on different parts of the Mac community.</p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2011/10/12/podcast-roundup-new-to-me-apple-mac-podcasts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guest Spot &#8211; Knightcast 0056 &#8220;The Best of KWTV Live&#8221;</title>
		<link>http://kdmurray.net/2011/10/11/guest-spot-knightcast-0056-the-best-of-kwtv-live/</link>
		<comments>http://kdmurray.net/2011/10/11/guest-spot-knightcast-0056-the-best-of-kwtv-live/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 08:06:42 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Podcasts]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[guest appearance]]></category>
		<category><![CDATA[knightcast]]></category>
		<category><![CDATA[knightwise]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=1004</guid>
		<description><![CDATA[I recently had the honour of being asked to be a guest on Knightwise&#8217;s podcast during his KWTV Live event in September. He took the opportunity to interview three different people about the current state of the three major operating systems, Linux, OS X and Windows. The three guests for the evening were: Larry Buschey [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the honour of being asked to be a guest on <a href="http://knightwise.com/">Knightwise&#8217;s</a> podcast during his KWTV Live event in September. He took the opportunity to interview three different people about the current state of the three major operating systems, Linux, OS X and Windows. The three guests for the evening were:</p>

<ul>
<li>Larry Buschey from <a href="http://goinglinux.com/">Going Linux podcast</a></li>
<li><a href="http://bartb.ie/">Bart Busschots</a> from <a href="http://impodcast.tv/">The International Mac podcast</a></li>
<li>Me from here, and of course the <a href="http://aussiegeekpodcast.com/">Aussie Geek Podcast</a></li>
</ul>

<p>Larry spoke on the state of Linux and what drives Linux adoption; Bart covered the highlights and lowlights of OS X Lion in some detail; and I talked about the Windows 8 developer preview and the state of Windows tablet PCs.</p>

<p>Give it a listen!</p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2011/10/11/guest-spot-knightcast-0056-the-best-of-kwtv-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating ISO Images from the OSX Command Line</title>
		<link>http://kdmurray.net/2010/01/09/creating-iso-images-from-the-osx-command-line/</link>
		<comments>http://kdmurray.net/2010/01/09/creating-iso-images-from-the-osx-command-line/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 08:31:26 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=810</guid>
		<description><![CDATA[A super fast way to create ISO images (or any kind of bit for bit copies) from the OS X (or linux, or unix) command line is to use the DD command. This isn&#8217;t without it&#8217;s risks since the DD command will duplicate byte for byte all data from one location to another, but once [...]]]></description>
			<content:encoded><![CDATA[<p>A super fast way to create ISO images (or any kind of bit for bit copies) from the OS X (or linux, or unix) command line is to use the DD command. This isn&#8217;t without it&#8217;s risks since the DD command will duplicate byte for byte all data from one location to another, but once you&#8217;ve found the necessary information you can easily replicate data.</p>

<p>I needed to create a copy of my Windows XP installation CD to use for setting up new virtual machines. Since it&#8217;s quicker to install VMs from an ISO image rather than from the installation media I wanted an ISO of my CD. The built in OS X disk utility can make this work&#8230; in theory. My copy of disk utility (on Snow Leopard) didn&#8217;t want to recognize the CD. So I turned to my command line knowledge.</p>

<p>I should also note that before you can read the CD using DD, you will need to unmount it:</p>

<p><code>sudo umount /dev/disk1s0</code></p>

<p>You&#8217;ll be prompted for your administrator password, then you&#8217;re in business.</p>

<p>To create an image of a CD (or DVD or anything else&#8230;) use the following:</p>

<p><code>dd if=/dev/disk1s0 of=/Users/kdmurray/Desktop/WindowsXP.iso bs=64k</code></p>

<ul>
    <li>if= input file, in this case our Windows XP CD</li>
    <li>of= output file, the actual ISO file you want created</li>
    <li>bs= block size, the size of chunks the tool will work with</li>
</ul>

<p>I did a few speed tests at 16k, 32k, 64k, 128k, 256k and 1M and found that the 64k seemed to be the ideal block size on my machine. This will vary by CPU, and possibly by hard drive controller, so do a few contolled tests first. To do a test, start the copy process, then stop it after 20-30s (ctrl-c). Whichever one copied the most in 30s is the one you should use.</p>

<p>That&#8217;s all she wrote, folks. Happy command-lining. <img src='http://kdmurray.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2010/01/09/creating-iso-images-from-the-osx-command-line/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Security on the Mac</title>
		<link>http://kdmurray.net/2008/12/15/security-on-the-mac/</link>
		<comments>http://kdmurray.net/2008/12/15/security-on-the-mac/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 17:57:04 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Soapbox]]></category>
		<category><![CDATA[anti-virus]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[market share]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[spyware]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[viruses]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=489</guid>
		<description><![CDATA[Recently I came across a discussion on a Mac forum with some people discussing how shocking it was that Apple had been recommending that its Macintosh customers consider using anti-virus software.  This is a discussion that has always raised my ire, as the supposed superior security of the Mac has always been an issue of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across a discussion on a Mac forum with some people discussing how shocking it was that Apple had been recommending that its Macintosh customers consider using anti-virus software.  This is a discussion that has always raised my ire, as the supposed superior security of the Mac has always been an issue of numbers.</p>

<p>No operating system is perfect, they&#8217;re all designed by people and are full of flaws as a result.  It&#8217;s important to keep in mind that one of the reasons that Mac OS X has had precious few problems with viruses and other nasties is market share.</p>

<p>Writing viruses is much like sending out mailers for advertising your new business.  The more people you reach with your message (or malware) the more people you&#8217;ll connect with (infect).</p>

<p>If you want to infect lots of people, you write your malware for Windows.</p>

<p>Five years ago the market share of the Mac was in around the 5% mark, meaning that if you wrote a virus for the mac and distributed it to 20 million computer users you&#8217;d infect 100 people (at a rate of 1 in 10,000). If you write for Windows and infect people at the same rate, you&#8217;ll infect 1900 people.</p>

<p>With the market share of the Mac increasing, so does the surface area for attacks. Many Mac owners have become complacent over the years believing that they are safe because they use a Mac. As a result the infection rates of Mac systems could be much higher than Windows-based PCs if malware authors decide to target the Mac platform.</p>

<p>Food for thought.</p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2008/12/15/security-on-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Software :: Run Windows Apps on your Mac</title>
		<link>http://kdmurray.net/2008/10/28/free-software-run-windows-apps-on-your-mac/</link>
		<comments>http://kdmurray.net/2008/10/28/free-software-run-windows-apps-on-your-mac/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:04:08 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[codeweavers]]></category>
		<category><![CDATA[CrossOver]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://kickjoey.com/?p=10</guid>
		<description><![CDATA[If you use a mac or linux on a regular basis and find yourself wanting to use Windows applications this may be the fix for you.  Go and download a copy of CrossOver for Mac from the CodeWeavers website.  Their regular website is offline at the moment because the got hit so hard by Digg [...]]]></description>
			<content:encoded><![CDATA[<p>If you use a mac or linux on a regular basis and find yourself wanting to use Windows applications this may be the fix for you.  Go and <a href="http://down.codeweavers.com/" target="_blank">download a copy of CrossOver</a> for Mac from the CodeWeavers website.  Their regular website is offline at the moment because the got hit so hard by Digg popularity.</p>

<p>Sourced from: <a href="http://kdmurray.net/2008/10/28/free-software-crossover-free-today-only/" target="_blank">FREE Software :: CrossOver Free Today Only!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2008/10/28/free-software-run-windows-apps-on-your-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 638/656 objects using disk: basic

Served from: kdmurray.net @ 2012-05-23 18:06:30 -->
