<?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>SHOCM &#187; HowTo</title>
	<atom:link href="http://www.shocm.com/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shocm.com</link>
	<description>Open Source, Cloud, Scotch, Baseball, Family, and Programming since the 1900&#039;s</description>
	<lastBuildDate>Fri, 27 Apr 2012 15:24:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Great Mac tar archive tip</title>
		<link>http://www.shocm.com/2008/03/great-mac-tar-archive-tip/</link>
		<comments>http://www.shocm.com/2008/03/great-mac-tar-archive-tip/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 16:49:28 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[NotMyPosting]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[QuickTip]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/2008/great-mac-tar-archive-tip-2/</guid>
		<description><![CDATA[<p>Every now and then I just post things I don&#8217;t want to forget or worried that the original website might disappear. This is one of the cases. This is a blog posting I came across on a little problem that plaques those of us that enjoy using OS X but have a need to move [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and then I just post things I don&#8217;t want to forget or worried that the original website might disappear. This is one of the cases. This is a blog posting I came across on a little problem that plaques those of us that enjoy using OS X but have a need to move files to other systems like Linux and Windows. </p>
<p>There is a dirty little secret the Mac hides from you when you are using it but becomes a glaring eyesore when you move to another OS. Some file clean up needs to happen because OSX creates these hidden files that start with a ._ which contains some extended information about the file that no other system reads so they aren&#8217;t terrible useful when moving files to these systems. This post from a person working for <a href="http://www.splunk.com">Splunk</a>, outlines how to tar up files on a OSX machine that is targeted for other systems and exclude the ._ files from the tarring process. Original article can be found <a href="http://blogs.splunk.com/deeann/?p=5">here</a> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212; POST &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
<p><i>When building Splunk applications, Im often working on a Mac. There<br />are files that begin with ._ that are resource files, which contain<br />extended attribute information about the files for the OS. This is<br />great and all but I dont want to include these files when I package up<br />an application and upload it to SplunkBase.</i></p>
<p>
<p><i>If you dont have deep OSX knowledge, then keeping these files out<br />of your tarball is harder than it looks. One of our OSX gurus pointed<br />me toward the answer, and I was so excited (yes, I am a geek) that I<br />just had to share.</i></p>
<p>
<p><i>To build a tarball in Leopard that doesnt contain the ._ files, use:</i></p>
<p>
<p><i>COPYFILE_DISABLE=true tar cvzf filename.tar.gz dirtotar</i></p>
<p>
<p><i>In Tiger, use:</i></p>
<p>
<p><i>COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar czvf filename.tar.gz dirtotar</i></p>
<p>
<p><i>This is definitely going in my .bashrc so I dont have to fuss with it again:</i></p>
<p>
<p><i>export COPYFILE_DISABLE=true</i></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212; PEND OF POST &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<blockquote></blockquote></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2008/03/great-mac-tar-archive-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

