<?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>Random thoughts of an overloaded mind &#187; console</title>
	<atom:link href="http://blog.amarkulo.com/tag/console/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.amarkulo.com</link>
	<description>Yet another technical blog about iOS, Windows, Linux, Arduino and everything else</description>
	<lastBuildDate>Tue, 13 Dec 2011 16:56:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Automatic sync of CodeBox library between several macs</title>
		<link>http://blog.amarkulo.com/automatic-sync-of-codebox-library-between-several-macs</link>
		<comments>http://blog.amarkulo.com/automatic-sync-of-codebox-library-between-several-macs#comments</comments>
		<pubDate>Fri, 07 Jan 2011 20:20:32 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[codebox]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[Mac tips]]></category>
		<category><![CDATA[objective c]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=406</guid>
		<description><![CDATA[So yesterday Apple has released 10.6.6 update with App store for Macs. One of my first purchases was CodeBox from Vadim Shpakovski. This application is really must have for all developers, but I have few things that I need for &#8230; <a href="http://blog.amarkulo.com/automatic-sync-of-codebox-library-between-several-macs">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So yesterday Apple has released 10.6.6 update with App store for Macs. One of my first purchases was <a title="CodeBox" href="http://www.codeboxapp.com/">CodeBox</a> from <a title="Vadim Shpakovski @ Twitter" href="http://twitter.com/#!/vadimshpakovski">Vadim Shpakovski</a>.</p>
<p>This application is really must have for all developers, but I have few things that I need for it to be perfect for my use.</p>
<p>It lacks sync between more than one Mac and I&#8217;m working on 4 different Macs, so I would like to have same code snippets everywhere without importing of every snippet separately, and you cannot export whole lib, only one code snippet at a time.</p>
<p>So I started looking into it to see if I can sync it in some way without too much hassle and work and I have founded way to do it.</p>
<p>I&#8217;m big fan of <a title="Dropbox" href="http://db.tt/8o7C5Zb">Dropbox</a> so why not use it here.</p>
<p>Here are steps required to have CodeBox synced over more than one Macs:</p>
<ul>
<li>Create one folder in your Dropbox folder, I have name it CodeBox <img src='http://blog.amarkulo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>Now quit CodeBox on one Mac (the one with more snippets)</li>
<li>Start Terminal and execute following commands
<ol>
<li><strong>cd &#8220;Library/Application Support&#8221;</strong></li>
<li><strong>cp com.shpakovski.mac.codebox/* ~/Dropbox/CodeBox</strong><span style="text-decoration: line-through;"> (here you will replace amar with your username)</span></li>
<li>now we will delete folder and create symlink</li>
<li><strong>rm -rf com.shpakovski.mac.codebox</strong></li>
<li><strong>ln -s ~/Dropbox/CodeBox com.shpakovski.mac.codebox</strong></li>
<li>that&#8217;s it!!</li>
</ol>
</li>
</ul>
<p>So now you need to repeat steps above on another mac on which you want to sync CodeBox library to.</p>
<p>If you don&#8217;t have <a title="Dropbox" href="http://db.tt/8o7C5Zb">Dropbox</a> account create it <a title="Dropbox" href="http://db.tt/8o7C5Zb">here</a>. It&#8217;s free and you will receive 2GB of disk space.</p>
<p><strong>Note 1:</strong> This is only temporary solution, I&#8217;m sure that Vadim will implement sync option in future updates.</p>
<p><strong>Note 2: Remember</strong>, you need to quit CodeBox on other Macs to be able to sync properly, because CodeBox is reading Library files on startup and it won&#8217;t know that you had changed something on mac nr2 so it will save current changes over those which are the latest ones.</p>
<p><strong>Note 3: </strong>This solution works for <a title="Snippets app" href="http://www.snippetsapp.com/">Snippets</a> application as well, the only thing that differs is application folder in Application Support.</p>
<p><strong>Note 4</strong>: I have corrected command for creating of a symbolic link and edited rest of the commands. I don&#8217;t know how did I get L there. Thank you Dalton for pointing that out.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/automatic-sync-of-codebox-library-between-several-macs/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Synchronize directories from command prompt</title>
		<link>http://blog.amarkulo.com/synchronize-directories</link>
		<comments>http://blog.amarkulo.com/synchronize-directories#comments</comments>
		<pubDate>Wed, 27 May 2009 05:55:13 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[dominik jain]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[mirror.exe]]></category>
		<category><![CDATA[oblivion]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[win]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=202</guid>
		<description><![CDATA[If you have ever wanted to synchronize 2 directories from command prompt in windows this tool is must-have for you. It works perfectly from scheduled tasks as well, so it&#8217;s easy to write batch script that will execute every night &#8230; <a href="http://blog.amarkulo.com/synchronize-directories">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have ever wanted to synchronize 2 directories from command prompt in windows this tool is must-have for you.<br />
It works perfectly from scheduled tasks as well, so it&#8217;s easy to write batch script that will execute every night and synchronize files and folders.</p>
<p>The program is called Mirror and is written by Dominik Jain and you can download it <a title="Dominik Jain" href="http://home.in.tum.de/~jain/index.html" target="_blank">here</a>. The latest version is 1.43.</p>
<p>It works very simple like it should, you enter source and destinations dir and that&#8217;s it. If you want only to test it w/o any actions taken just add -d (d for demonstration).</p>
<p>Of course it has possibility to enter file mask or regular expressions as well and it&#8217;s only 172kb in size.</p>
<p>On his <a title="Dominik Jain" href="http://home.in.tum.de/~jain/index.html" target="_blank">site</a> you can find few more tools and utils that he wrote.</p>
<p>Here is the backup link just in case <a class="downloadlink" href="http://blog.amarkulo.com/wp-content/plugins/download-monitor/download.php?id=9" title=" downloaded 19 times" >Mirror 1.43 (19)</a>.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/synchronize-directories/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

