<?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>Missing Link &#187; Automator</title>
	<atom:link href="http://john.whelans.net/archives/tag/automator/feed" rel="self" type="application/rss+xml" />
	<link>http://john.whelans.net</link>
	<description>Stumbling through life</description>
	<lastBuildDate>Wed, 21 Apr 2010 03:03:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Secure Delete Automator Workflow</title>
		<link>http://john.whelans.net/archives/670</link>
		<comments>http://john.whelans.net/archives/670#comments</comments>
		<pubDate>Tue, 08 Dec 2009 03:30:13 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[OS X 10.6]]></category>
		<category><![CDATA[Secure Delete]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://john.whelans.net/?p=670</guid>
		<description><![CDATA[What do you do when you&#8217;re finished with a document on your computer and need or want to get rid of it?   For most people the answer is to delete the file.  That is, after all, the most logical thing to do, right?   What a lot of people fail to realize is that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://john.whelans.net/wp-content/uploads/2009/12/automator-icon.png" rel="lightbox[670]"><img class="alignleft size-medium wp-image-671" title="Automator" src="http://john.whelans.net/wp-content/uploads/2009/12/automator-icon-300x300.png" alt="Automator" width="300" height="300" /></a>What do you do when you&#8217;re finished with a document on your computer and need or want to get rid of it?   For most people the answer is to delete the file.  That is, after all, the most logical thing to do, right?   What a lot of people fail to realize is that simply deleting a file does NOT remove it from your hard drive.  A person skilled in data recovery can easily recover that data unless it has been overwritten several times.  Deleting the file only removes references to the file from the filesystem.  It does not physically remove the data from the drive, however, instead it just allows the computer to overwrite the space where it had been stored.</p>
<p>There are, however, ways you can securely delete files from your computer.  These tools will overwrite the space on the hard drive where the file resided,  usually 7 or more times (and often the number of passes is configurable).  This morning my boss brought to my attention the fact that one such utility is available by default on Mac OS X 10.6 (Snow Leopard).   The command, srm, is used via the command line and will securely remove your files.</p>
<p><span id="more-670"></span></p>
<p>David (my boss) helpfully created an automator workflow, however, which when saved as a service on your machine will add an option to the right-click context menu in Finder that allows you to securely delete the file.</p>
<p>I &#8211; being in a sharing mood &#8211; have shared this automator workflow <a href="http://john.whelans.net/wp-content/uploads/2009/12/SecureDeleteWorkflow.zip">HERE</a> for your enjoyment.</p>
<p>A few notes:   In the actual shell command &#8211; pay attention to the switches after srm.  Specifically, you may want to change the s in &#8220;-rsf&#8221; to an m ( so -rmf).  The s will do a single pass at overwriting the file, while m will do a full 7 passes.</p>
<p>This is provided as-is, though I will answer any questions I&#8217;m able to.   As always &#8211; use at your own risk, if it breaks your stuff that&#8217;s not my fault.</p>
<p>Special thanks to David Meade for providing the automator workflow.</p>
<p>[Update:  I forgot to mention that you can also securely delete files by moving them to your trash folder, and selecting "Secure Empty Trash" from the finder menu...]</p>
<p>[Update 2:  A friend of mine has pointed out that you can set it up so that Finder uses srm to securely empty the trash by default, to do this go the the Finder menu -&gt; preferences -&gt; advanced, and check the box for Empty Trash securely. Enjoy]</p>
]]></content:encoded>
			<wfw:commentRss>http://john.whelans.net/archives/670/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
