<?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>Unpossibilities...</title>
	<atom:link href="http://www.robertvenema.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robertvenema.nl</link>
	<description>Your weekly dose from dutchland *^_~*</description>
	<lastBuildDate>Tue, 16 Feb 2010 09:06:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lowercase Filenames with Bash on Mac OS X</title>
		<link>http://www.robertvenema.nl/journal/archive/lowercase-filenames-with-bash-on-mac-os-x/</link>
		<comments>http://www.robertvenema.nl/journal/archive/lowercase-filenames-with-bash-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 13:53:22 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/?p=133</guid>
		<description><![CDATA[
When saving files to my harddrive I&#8217;d like the filenames to be in lowercase. It just seems more clean that way. However, I do not like renaming all files manually. So here&#8217;s a little bash script that can do this automatically:

#!/bin/sh

if [ -n "$1" ]; then
  let count=0
  while [ "$1" ]; do
 [...]]]></description>
			<content:encoded><![CDATA[<p>
When saving files to my harddrive I&#8217;d like the filenames to be in lowercase. It just seems more clean that way. However, I do not like renaming all files manually. So here&#8217;s a little bash script that can do this automatically:
</p>
<pre><code>#!/bin/sh

if [ -n "$1" ]; then
  let count=0
  while [ "$1" ]; do
    f="$1"
    shift
    if [ -f "$f" ]; then
      lc=`echo $f | awk '{print(tolower($0));}'`
      if [ "$lc" != "$f" ]; then
        mv "$f" "$lc"
        ((count++))
      fi
    fi
  done
  echo "Result: $count files have been changed."
else
  echo "Usage: lowerit file(s)"
fi</code></pre>
<p>
<img src="http://gallery.robertvenema.nl/pics/376_1265304682.jpg" /><br />
<small><i>An example showing the usage of the above script. <a href="http://gallery.robertvenema.nl/pics/374_1265304412.png" />See full image</a></i></small>
</p>
<p><span id="more-133"></span></p>
<h3>Usage and examples</h3>
<p>
I&#8217;ve named this script <em>lowerit</em> and placed it in the <code>/bin</code> directory. You can read my previous post <a href="http://www.robertvenema.nl/journal/archive/batch-rename-filename-extension-on-a-mac/">&#8220;Batch rename filename extension on a Mac&#8221;</a> for more details about installing bash scripts on a Mac. Run this script by typing the following command:
</p>
<pre><code>~$: lowerit *</code></pre>
<p>
Using the asterisk (*) will lowercase all filenames in the current directory. It&#8217;s also possible to specify one single file, for example:
</p>
<pre><code>~$: lowerit Example.PHP</code></pre>
<p>
Combined with <code>find</code> you can also recursively change the filenames. The command to use should look something like this:
</p>
<pre><code>~$: find . -type f -exec lowerit {} \;</code></pre>
<p>
Off course this script can also be used to uppercase filenames as well. Just change <code>awk print(tolower($0))</code> into <code>awk print(toupper($0))</code> and your done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/lowercase-filenames-with-bash-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize using Bash and Rsync on Mac OS X</title>
		<link>http://www.robertvenema.nl/journal/archive/synchronize-using-bash-and-rsync-on-mac-os-x/</link>
		<comments>http://www.robertvenema.nl/journal/archive/synchronize-using-bash-and-rsync-on-mac-os-x/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 13:12:32 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/?p=97</guid>
		<description><![CDATA[
Recently I&#8217;ve configured a RAID 1 setup on my home computer which consists of two 750GB hard drives. This setup will be used to synchronize and backup files that are stored on my Apple MacBook.
I&#8217;ve written a Bash script that will synchronize specific directories from my MacBook to my home computer.



Example of the script being [...]]]></description>
			<content:encoded><![CDATA[<p>
Recently I&#8217;ve configured a RAID 1 setup on my home computer which consists of two 750GB hard drives. This setup will be used to synchronize and backup files that are stored on my Apple MacBook.</p>
<p>I&#8217;ve written a Bash script that will synchronize specific directories from my MacBook to my home computer.
</p>
<p><span id="more-97"></span></p>
<p><img src="http://gallery.robertvenema.nl/pics/370_1259069681.jpg" /><br />
<small><i>Example of the script being executed</i></small>
</p>
<h3>The script</h3>
<p>
This script <em>sync.sh</em> will be using two extra files (<em>sync.lst</em> and <em>sync.exc</em>) which are used to specify the directories and files that should and should not be synchronized.
</p>
<p>
More details can be found inside the .zip file:
</p>
<ul>
<li><a href="http://www.robertvenema.nl/wp-content/uploads/sync.zip">Download the above script</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/synchronize-using-bash-and-rsync-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Backup Apple Mail using Bash and Cron</title>
		<link>http://www.robertvenema.nl/journal/archive/backup-apple-mail-using-bash-and-cron/</link>
		<comments>http://www.robertvenema.nl/journal/archive/backup-apple-mail-using-bash-and-cron/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:48:22 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/?p=58</guid>
		<description><![CDATA[
Because of a recent hard-drive failure on my MacBook I had to replace my hard-drive and restore most of my data. Luckily I&#8217;ve been using my own automated backup script for Apple Mail which makes restoring a simple breeze.
I&#8217;m using a simple combination of bash and cron that automatically backups all my e-mail into one [...]]]></description>
			<content:encoded><![CDATA[<p>
Because of a recent hard-drive failure on my MacBook I had to replace my hard-drive and restore most of my data. Luckily I&#8217;ve been using my own automated backup script for Apple Mail which makes restoring a simple breeze.</p>
<p>I&#8217;m using a simple combination of bash and cron that automatically backups all my e-mail into one local .zip file. The local .zip file is automatically copied to my USB flashdrive the moment it&#8217;s connected to my laptop.
</p>
<p><span id="more-58"></span></p>
<h3>The bash script</h3>
<p>
Here&#8217;s the code for the bash script <code>backup.sh</code> that I&#8217;m using:
</p>
<pre><code>d1="/Users/Robert/Library/Mail/"
d2="/Users/Robert/Library/Mail Downloads/"

zip -ru /Users/Robert/Documents/Backup/Mail.zip "$d1" "$d2"
echo "Backup has finished!"</code></pre>
<p>
Make sure that the above bash script is executable (chmod +x) and has the correct paths to your own directories.
</p>
<p>
<img src="/wp-content/uploads/backup-apple-mail-using-bash-and-cron/backup-01.jpg" /><br />
<small><i>Example of the bash script shown with the Vim text editor</i></small></p>
</p>
<h3>Cron</h3>
<p>
<a href="http://en.wikipedia.org/wiki/Cron">Cron</a> is a time-based job scheduler in Unix-like computer operating systems such as Mac OS X. Cron is used to execute the above backup script at a specified time.</p>
<p>Using the terminal you can specify a cron job by using <code>crontab -e</code> and list current cron jobs with <code>crontab -l</code>. When done adding a new cron job you can exit by typing <code>:</code> followd by <code>wq [enter]</code>. This is how I&#8217;ve set up mine:
</p>
<pre><code>0,30  *  *  *  *  sh /Users/Robert/.scripts/backup.sh &gt; /dev/null 2&gt;&amp;1</code></pre>
<p>
This will execute the backup script the 0th and 30th minute of every hour (and every day).
</p>
<h3>Backup on USB connect</h3>
<p>
Having all my e-mail backupped into one single .zip file on the local hard-drive is making the backup still vulnerable for hard-drive failures. Therefore I&#8217;m using an automated backup script that copies all my backup files to a USB flashdrive the moment it is connected to my MacBook.</p>
<p><a href="http://www.robertvenema.nl/wp-content/uploads/backup-apple-mail-using-bash-and-cron/backup-to-usb.scpt">Download the AppleScript</a></p>
<p>Open the AppleScript with the Script Editor on your Mac and modify the locations to your own backup directory and (USB) backup drive. Save the script and place it in your user account at <code>~/Library/Scripts/Folder Action Scripts/</code>.</p>
<p>Start Finder by pressing &#8220;Command + Shift + G&#8221; and go to the folder <code>/Volumes</code>. Right click in the directory, select &#8220;Attach a Folder Action&#8221; and select the Applescript.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/backup-apple-mail-using-bash-and-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop Wordpress Theme on a Live Site</title>
		<link>http://www.robertvenema.nl/journal/archive/develop-wordpress-theme-on-a-live-site/</link>
		<comments>http://www.robertvenema.nl/journal/archive/develop-wordpress-theme-on-a-live-site/#comments</comments>
		<pubDate>Sat, 23 May 2009 11:29:53 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/?p=57</guid>
		<description><![CDATA[
Last week I came across a nice article that explains how you can develop or debug a wordpress theme on a live site. All that needs to be done is editing the file /wp-includes/theme.php and modify two functions.
URL: Wordpress Hack to Debug Themes on a Live Site
This simple hack will use the specified theme only [...]]]></description>
			<content:encoded><![CDATA[<p>
Last week I came across a nice article that explains how you can develop or debug a wordpress theme on a live site. All that needs to be done is editing the file <code>/wp-includes/theme.php</code> and modify two functions.</p>
<p>URL: <a href="http://damonparker.org/blog/2007/04/09/wordpress-hack-debug-themes/">Wordpress Hack to Debug Themes on a Live Site</a></p>
<p>This simple hack will use the specified theme only for one remote IP&#8230;yours. Once the theme is good to go, merge the changes into the live template and comment out the code to disable the hack.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/develop-wordpress-theme-on-a-live-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch rename filename extension on a Mac</title>
		<link>http://www.robertvenema.nl/journal/archive/batch-rename-filename-extension-on-a-mac/</link>
		<comments>http://www.robertvenema.nl/journal/archive/batch-rename-filename-extension-on-a-mac/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 11:54:40 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/?p=54</guid>
		<description><![CDATA[
Here&#8217;s a little shell script I use for renaming the filename extension of multiple files:

#!/bin/sh
for f in *.$1
do
  mv "$f" "${f%$1}$2"
done

I&#8217;ve named this script chgext, and use the following command to rename multiple filename extensions:

~$: chgext JPG jpg

This script will rename the filename extension, for example an uppercase &#8216;JPG&#8217; extension, into a lowercase &#8216;jpg&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>
Here&#8217;s a little shell script I use for renaming the filename extension of multiple files:
</p>
<pre><code>#!/bin/sh
for f in *.$1
do
  mv "$f" "${f%$1}$2"
done</code></pre>
<p>
I&#8217;ve named this script <em>chgext</em>, and use the following command to rename multiple filename extensions:
</p>
<pre><code>~$: chgext JPG jpg</code></pre>
<p>
This script will rename the filename extension, for example an uppercase &#8216;JPG&#8217; extension, into a lowercase &#8216;jpg&#8217; extension of all files in the same directory matching your criteria.
</p>
<p><span id="more-54"></span></p>
<h3>Installation</h3>
<p>
Enter your terminal and create a new file named <em>chgext</em> using the following command:
</p>
<pre><code>~$: touch chgext</code></pre>
<p>
Open the file in an editor of your choice. I often use <em>nano</em>:
</p>
<pre><code>~$: nano chgext</code></pre>
<p>
Copy and paste the above script in the editor and save it (use ctrl + x in nano and save the changes). In order to access this script from any location on your system it can be placed in the <em>/bin/</em> directory. You need root access to this directory:
</p>
<pre><code>~$: sudo mv chgext /bin/chgext</code></pre>
<p>
&#8230;and make the script executable:
</p>
<pre><code>~$: sudo chmod +x /bin/chgext</code></pre>
<p>
To see if the script is properly installed enter the command <em>chgext</em>. It should respond with a message similar to &#8220;mv: rename *. to *.: No such file or directory&#8221;. That&#8217;s ok, because we haven&#8217;t added any parameters yet.</p>
<p>Example:<br />
<img src="http://www.robertvenema.nl/wp-content/uploads/batch-rename-filename-extension/batch-rename-01.jpg" alt="" /><br />
<small><i>Example using chgext. <a href="http://www.robertvenema.nl/wp-content/uploads/batch-rename-filename-extension/batch-rename-01.png">See full image</a></i></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/batch-rename-filename-extension-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve graduated!</title>
		<link>http://www.robertvenema.nl/journal/archive/graduation/</link>
		<comments>http://www.robertvenema.nl/journal/archive/graduation/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 13:19:45 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/journal/archive/ive-graduated/</guid>
		<description><![CDATA[
Finally I&#8217;ve graduated. I&#8217;m allowed to carry the title Bachelor of Multimedia. Subject of my graduation project involves a combination of existing online digital surveys and interaction design. Together with a classmate we made a proof of concept.

]]></description>
			<content:encoded><![CDATA[<p>
Finally I&#8217;ve graduated. I&#8217;m allowed to carry the title Bachelor of Multimedia. Subject of my graduation project involves a combination of existing online digital surveys and interaction design. Together with a classmate we made a <a href="http://demo.flexiblecoder.nl/">proof of concept</a>.</p>
<p><img src="http://www.robertvenema.nl/wp-content/uploads/bachelor-of-multimedia-degree.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/graduation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Howto command-line unrar on Mac OS X</title>
		<link>http://www.robertvenema.nl/journal/archive/howto-command-line-unrar-on-mac-os-x/</link>
		<comments>http://www.robertvenema.nl/journal/archive/howto-command-line-unrar-on-mac-os-x/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 13:20:57 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/journal/archive/howto-command-line-unrar-on-mac-os-x/</guid>
		<description><![CDATA[
Decompressing *.RAR on a Mac OS X can&#8217;t be done by default. Of course you could use UnRarX to do this job, though not my cup of tea. I like command-line utilities e.g. par2cmdline and unrar. This post will help you installing the freeware unrar command-line tool from Rarlab.

Installation

Download the full package containing both rar [...]]]></description>
			<content:encoded><![CDATA[<p>
Decompressing *.RAR on a Mac OS X can&#8217;t be done by default. Of course you could use UnRarX to do this job, though not my cup of tea. I like command-line utilities e.g. <em>par2cmdline</em> and <em>unrar</em>. This post will help you installing the freeware <em>unrar</em> command-line tool from <a href="http://www.rarlab.com/">Rarlab</a>.
</p>
<h3>Installation</h3>
<p>
Download the full package containing both rar (shareware) and unrar (freeware) from the <a href="http://www.rarlab.com/download.htm">Rarlab website</a>. I&#8217;ve chosen the <em>RAR 3.70 for Mac OS X</em> package (rarosx-3.7.0.1.tar.gz). Decompress the package (just double click on the .tar.gz file) and you will see a new folder, named rar, containing the necessary files.
</p>
<p><span id="more-50"></span></p>
<p>
Enter your terminal, which can be found in /Applications/Utilities.</p>
<p><img src="/wp-content/uploads/howto-command-line-unrar-on-mac-os-x/unrar-howto-01.jpg" /><br />
<small><i>Start up Terminal on your Mac, located in /Applications/Utilities</i></small></p>
<p>Go to the newly created rar folder with both <em>rar</em> and <em>unrar</em>. You can use the command <em>cd</em> to change directories.</p>
<p><img src="/wp-content/uploads/howto-command-line-unrar-on-mac-os-x/unrar-howto-02.jpg" /><br />
<small><i>Entering the rar folder in your terminal. <a href="/wp-content/uploads/howto-command-line-unrar-on-mac-os-x/unrar-howto-02.png" />See full image</a></i></small></p>
<p>Use the following command to install unrar:
</p>
<pre><code>$ sudo install -c -o $USER unrar /bin</code></pre>
<p>
<em>$USER</em> is a default environment variable in the bash shell which contains your username.</p>
<p>Sudo requires you to enter your user password. It&#8217;s the same password you use when you log in to Mac OS X. To install <em>rar</em> you can use the same command:
</p>
<pre><code>$ sudo install -c -o $USER rar /bin</code></pre>
<p>
Do a test-run to see if the installation went properly. In your terminal now enter from any location you want:
</p>
<pre><code>~$: unrar</code></pre>
<p>
When unrar is properly installed, usage information should appear explaining commands and switches you can use. To decompress a .RAR package simply use the following command which will extract all files with full path:
</p>
<pre><code>~$: unrar x compressed-package.rar</code></pre>
<p>
In your terminal it will look like this:</p>
<p><img src="/wp-content/uploads/howto-command-line-unrar-on-mac-os-x/unrar-howto-03.jpg" /><br />
<small><i>Example of an extracted .RAR archive within your terminal. <a href="/wp-content/uploads/howto-command-line-unrar-on-mac-os-x/unrar-howto-03.png" />See full image</a></i></small></p>
<p>That&#8217;s it! Have fun decompressing .RAR archives on your Mac using cool command lines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/howto-command-line-unrar-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>iTunes Library Auto-Update Mac OS X</title>
		<link>http://www.robertvenema.nl/journal/archive/itunes-library-auto-update-for-mac-os-x/</link>
		<comments>http://www.robertvenema.nl/journal/archive/itunes-library-auto-update-for-mac-os-x/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 14:15:28 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/?p=45</guid>
		<description><![CDATA[
We all enjoy music, right? Playing your favorite music on a computer isn&#8217;t difficult. But what if you are a Mac user having hundreds of GB&#8217;s of MP3 files on an external harddrive?

Why

When I bought a new MacBook it came with iTunes as the default (and probably best) music player from Apple. I&#8217;m not going [...]]]></description>
			<content:encoded><![CDATA[<p>
We all enjoy music, right? Playing your favorite music on a computer isn&#8217;t difficult. But what if you are a Mac user having hundreds of GB&#8217;s of MP3 files on an external harddrive?
</p>
<h3>Why</h3>
<p>
When I bought a new MacBook it came with iTunes as the default (and probably best) music player from Apple. I&#8217;m not going to discuss what music player is better. People claim you&#8217;re able to work with an Apple right out of the box, so iTunes it is.</p>
<p>Having my music stored on an external drive will keep my laptop&#8217;s harddrive clean and gives me enough free disk space for storing documents, pictures, games, videos&#8230;you know, fun stuff.
</p>
<p><span id="more-45"></span></p>
<h4>The problem</h4>
<p>
Like many people I prefer having my own folder structure which is used to organise all of my music. However, smart people at Apple haven&#8217;t included an option that will let iTunes synchronize with a custom folder. Luckily we can use Automator to do this for us. Imagine adding hundreds of CD&#8217;s manually to your library!</p>
<p>Here&#8217;s my situation: Apple MacBook (running iTunes 7.2) and a LaCie 350 GB USB External Drive (containing all of my music).
</p>
<h3>The automator script</h3>
<p>
I&#8217;m using a total of 3 actions:
</p>
<ul>
<li>1) Ask for Confirmation</li>
<li>2) Find Finder Items (optional &#8216;date modified&#8217; check)</li>
<li>3) Add Files to Playlist</li>
</ul>
<p>
Look at the <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync.png">screenshot</a> to see detailed information about each action. The second action is the most important one. You will need to specify the main folder that holds all your music (in my case Music on the external drive named Nanako).
</p>
<h4>Criteria</h4>
<p>
I&#8217;ve added two criteria. One that searches for mp3 files and a second one (which is not mandatory) that will check for modification date (last 2 weeks). I&#8217;ve added this second rule, because reloading <strong>all</strong> our mp3&#8217;s will take a <strong>very long</strong> time. Using the second rule drastically decreases loading time and will only add songs that are modified during the last 2 weeks. Change the date according to your own preference.</p>
<p><img src="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync-rules-tn.jpg" /><br />
<small><i>Creating rules with Automator. Change them to your own needs. <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync-rules.png">See full image</a></i></small></p>
<p>When running this script it will search inside your custom folder for all mp3 files that have been modified (in this case &#8220;added&#8221; to your folder) during the last 2 weeks and will add them to your iTunes Library.</p>
<p>Tracks that are no longer available in iTunes (e.g. because you&#8217;ve deleted a CD manually), as indicated by a &#8220;!&#8221;, can be removed using <a href="http://dougscripts.com/itunes/scripts/scripts01.php?page=1#removedeadsuper">Super Remove Dead Tracks</a>.
</p>
<h4>Installation &amp; Usage</h4>
<p>
Download the Automator script here: <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync-v1.1.zip">automator-itunes-library-sync.zip</a></p>
<p><em>Note: The following may not work on OS X 10.6 Snow Leopard.</em></p>
<p><img src="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync/sync-itunes-02.jpg" /><br />
<small><i>Location of where to place the script. <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync/sync-itunes-02.png">See full image</a></i></small></p>
<p>Place this script in <em>/Username/Library/Workflows/Applications/Finder</em>.</p>
<p>
If the workflow directories don&#8217;t exist, you have to create them manually. When done, the script will be available to you with a simple right mouseclick (on some free desktop space). Select Automator -> Synchronize Library and your done. When running this script for the first time, open Automator and disable the &#8220;Date Modified&#8221; rule because we want to add <strong>all</strong> the songs first. When done you can enable the rule again.</p>
<p><img src="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync/sync-itunes-03.jpg" /><br />
<small><i>Activating the script with a right mouseclick. <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync/sync-itunes-03.png">See full image</a></i></small>
</p>
<p>
I know a lot of people are waiting for an iTunes with a built-in synchronization function. I hope this might solve the problem people have now until iTunes will have such a function. I&#8217;m no expert with Automator, so if you have any comments, or suggestions regarding this script, please use the comment form below.
</p>
<h4>Tip: Using multiple iTunes Libraries</h4>
<p>
Press and hold the option (alt) key when launching iTunes. Doing so will let you control multiple iTunes Libraries. I&#8217;ve got two libraries running, one with music on my external drive and another one with some songs stored on my MacBook.
</p>
<h3>Changelog</h3>
<p>
2008-01-11 &#8211; version <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync-v1.1.zip">1.1</a>
</p>
<ul>
<li>Changed the script to search for “type: audio”</li>
</ul>
<p>
2007-04-07 &#8211; version <a href="http://www.robertvenema.nl/wp-content/uploads/automator-itunes-library-sync-v1.0.zip">1.0</a>
</p>
<ul>
<li>First release</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/itunes-library-auto-update-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>72</slash:comments>
		</item>
		<item>
		<title>Safely change WordPress permalink</title>
		<link>http://www.robertvenema.nl/journal/archive/safely-change-wordpress-permalink/</link>
		<comments>http://www.robertvenema.nl/journal/archive/safely-change-wordpress-permalink/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 08:25:44 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/journal/archive/safely-change-wordpress-permalink/</guid>
		<description><![CDATA[
A permalink is a URL that points to a specific blogging entry even after the entry has passed from the front page into the blog archives. Because a permalink remains unchanged indefinitely, its use avoids link rot. Most modern weblogging, including Wordpress, support such links. Permalinks are often simply stated so as to be human-readable.
But [...]]]></description>
			<content:encoded><![CDATA[<p>
A permalink is a URL that points to a specific blogging entry even after the entry has passed from the front page into the blog archives. Because a permalink remains unchanged indefinitely, its use avoids link rot. Most modern weblogging, including Wordpress, support such links. Permalinks are often simply stated so as to be human-readable.</p>
<p>But what if you want to change your permalink structure, from:
</p>
<pre><code>/%year%/%monthnum%/%day%/%postname%/</code></pre>
<p>
to:
</p>
<pre><code>/blog/archive/%postname%/</code></pre>
<p>
Doing so will make all pages indexed by search engines become invalid, moreover, losing visitors from other sites or bookmarks that links to you.
</p>
<p><span id="more-42"></span></p>
<p>
By using <a href="http://www.deanlee.cn/wordpress/permalinks-migration-plugin/">Dean’s Permalinks Migration Plugin</a> you can safely update your permalink structure. This plugin will generate a &#8220;301 Redirect&#8221; when users or spiders visit your site through old permalinks, and redirect them to the new permalinks of the same post.</p>
<p>I&#8217;ve updated my permalink structure to:
</p>
<pre><code>/journal/archive/%postname%/</code></pre>
<p>
&#8230;because using the date in the URL wasn&#8217;t relevant to my posts or its content. It makes sense for the URL to contain relevant information about the page content, and not information that isnt useful to both humans and bots.
</p>
<p>
Thank you <a href="http://www.deanlee.cn/">Dean Lee</a> for this great plugin!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/safely-change-wordpress-permalink/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How not to use Powerpoint</title>
		<link>http://www.robertvenema.nl/journal/archive/how-not-to-use-powerpoint/</link>
		<comments>http://www.robertvenema.nl/journal/archive/how-not-to-use-powerpoint/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 20:19:24 +0000</pubDate>
		<dc:creator>Robert Venema</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Interaction Design]]></category>

		<guid isPermaLink="false">http://www.robertvenema.nl/journal/archive/how-not-to-use-powerpoint/</guid>
		<description><![CDATA[
With the upcoming group presentations at school it might be a good idea to work on our PowerPoint skills. Watch a presentation by comedian Don McMillan, who attempts to give some good advice on using the PowerPoint tool properly.


Good luck!
]]></description>
			<content:encoded><![CDATA[<p>
With the upcoming group presentations at school it might be a good idea to work on our PowerPoint skills. <a href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&#038;videoid=1529637984">Watch a presentation</a> by comedian <a href="http://www.technicallyfunny.com/">Don McMillan</a>, who attempts to give some good advice on using the PowerPoint tool properly.
</p>
<p>
Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robertvenema.nl/journal/archive/how-not-to-use-powerpoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
