<?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>Karoshi Ethos &#187; Automator</title>
	<atom:link href="http://karoshiethos.com/tag/automator/feed/" rel="self" type="application/rss+xml" />
	<link>http://karoshiethos.com</link>
	<description>Navigating the treacherous waters of interactive technology</description>
	<lastBuildDate>Mon, 09 Aug 2010 15:23:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Helpful Automator Workflows for Developers</title>
		<link>http://karoshiethos.com/2009/04/23/helpful-automator-workflows-for-developers/</link>
		<comments>http://karoshiethos.com/2009/04/23/helpful-automator-workflows-for-developers/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 22:04:48 +0000</pubDate>
		<dc:creator>Rob Ruchte</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Finder]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://karoshiethos.com/?p=187</guid>
		<description><![CDATA[I love OS X. For me, it's the ideal development platform. I primarily build web applications that run on the LAMP stack, so having a POSIX compliant UNIX like OS for my daily driver is extremely convenient. My development environment works just like the environments I deploy to, so I don't have to worry very [...]]]></description>
			<content:encoded><![CDATA[<p>I love OS X. For me, it's the ideal development platform. I primarily build web applications that run on the LAMP stack, so having a POSIX compliant UNIX like OS for my daily driver is extremely convenient. My development environment works just like the environments I deploy to, so I don't have to worry very much about platform inconsistencies. OS X is the perfect balance of elegance and power. I only wish Finder didn't suck so hard.</p>
<p>There are some actions I need to perform on files on a regular basis that are not supported in Finder. For example, recursively deleting files in a tree of directories, but leaving the directory structure intact. I have a code generation tool that scaffolds out a boatload of PHP classes based on MySQL database. During heavy development, I need to blow away the files on a regular basis without deleting the output directories. Finder simply cannot do this. Luckily Apple has provided a way to add Automator actions to the context menu in Finder. I put together a simple workflow to recursively delete files in a tree of folders, here is is for your convenience:</p>
<p><a href="/downloads/DeleteFolderContents.zip">DeleteFolderContents.zip</a> - MD5: 5d0ad832e9e998dbefd70d49f2a07b52</p>
<p>Unzip, and copy the workflow file to Library/Workflow/Applications/Finder/ in your home directory. If all has gone well, you should have a new option in the context menu when you right-click a folder in Finder:</p>
<div id="attachment_331" class="wp-caption aligncenter" style="width: 696px"><img class="size-full wp-image-331" title="automator_plugin" src="http://karoshiethos.com/wp-content/uploads/2009/04/automator_plugin.png" alt="Automator Workflow As Finder Plugin" width="686" height="143" /><p class="wp-caption-text">Automator Workflow As Finder Plugin</p></div>
<p>Another Finder deficiency that was bugging Jon recently is the inability to copy the filesystem path of a folder in Finder to your clipboard. I put together a little workflow that does just that:</p>
<p><a href="/downloads/CopyPathToClipboard.zip">CopyPathToClipboard.zip</a> - MD5: b64558cf3afb7aecdec63faccb5986ba</p>
<p>Follow the same steps outlined above to copy the workflow to the proper location.</p>
<p>Note that these workflows are compatible with OS X version 10.5, and will not run in Automator on 10.4 or previous systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://karoshiethos.com/2009/04/23/helpful-automator-workflows-for-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
