<?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>Mind-NOX | osx</title>
	<atom:link href="http://face.centosprime.com/wordpress/tag/osx/feed" rel="self" type="application/rss+xml" />
	<link>http://face.centosprime.com/wordpress</link>
	<description>the faceblog</description>
	<lastBuildDate>Fri, 27 Aug 2010 15:13:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Time Machine vs. hidden files</title>
		<link>http://face.centosprime.com/wordpress/time-machine-vs-hidden-files</link>
		<comments>http://face.centosprime.com/wordpress/time-machine-vs-hidden-files#comments</comments>
		<pubDate>Sat, 16 Feb 2008 18:06:39 +0000</pubDate>
		<dc:creator>face</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://face.centosprime.com/wordpress/2008/02/16/time-machine-vs-hidden-files/</guid>
		<description><![CDATA[Apple &#8211; Downloads &#8211; Dashboard Widgets &#8211; hiddenfiles: Simple widget that toggles visibility of files that are hidden from the Finder.

I am using Time Machine (an experiment) to do backups. I had a perfect opportunity to test it.



In an effort to tweak my Apache2 MPM settings (need to build it differently) I wound up screwing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html">Apple &#8211; Downloads &#8211; Dashboard Widgets &#8211; hiddenfiles</a>: <blockquote>Simple widget that toggles visibility of files that are hidden from the Finder.</blockquote></p>

<p>I am using Time Machine (an experiment) to do backups. I had a perfect opportunity to test it.</p>

<p><span id="more-893"></span></p>

<p>In an effort to tweak my Apache2 MPM settings (need to build it differently) I wound up screwing up a change I had made to /opt/local/apache2/conf/extra/httpd-userdir.conf (I should have used a different file rather than modifying the distribution file). Oops.</p>

<p>But wait! Time Machine should have that file from 2 hours ago. It was good then. Let&#8217;s go look. Oops. I can&#8217;t see the /opt directory. Hmmm. If I change the Finder to show hidden files will I see it?  Run Cocktail, change the preference, restart the Finder. Yes! There&#8217;s the file. I can restore it. Now put back the Finder settings&#8230;what a pain.</p>

<p>I could write a script I guess.</p>

<p>Nope &#8211; I&#8217;ll just use the neat, little widget listed above. F12, click, wait one second, enter the Time Machine, do the restore, F12, click, done.</p>

<p>I wonder if Time Machine has a preference for showing hidden files separate from the Finder setting?</p>

<p>An alternative for people who have <a href="http://www.red-sweater.com/fastscripts/index.html">FastScripts or FastScripts Lite</a> is to simply create 2 shell scripts -</p>

<h3>Hide files</h3>

<p><code>#!/bin/bash</p>

<h1>Hide files in Finder</h1>

<p>defaults write com.apple.finder AppleShowAllFiles -bool FALSE
killall Finder
</code></p>

<h3>Show files</h3>

<p><code>#!/bin/bash</p>

<h1>Show files in Finder</h1>

<p>defaults write com.apple.finder AppleShowAllFiles -bool TRUE
killall Finder
</code></p>

<p>Put them in <code>/Users/yournamehere/Library/Scripts</code> with appropriate names. Then you can select the &#8220;show files&#8221; script, fire off Time Machine, and set them back when done.</p>

<p>I keep forgetting that FastScripts lets me do shell scripts &#8211; thanks Daniel &#8211; oh, yeah, he does <a href="http://www.red-sweater.com/marsedit/">MarsEdit</a> too.</p>
]]></content:encoded>
			<wfw:commentRss>http://face.centosprime.com/wordpress/time-machine-vs-hidden-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
