<?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>VéloFille &#187; delete</title>
	<atom:link href="http://velofille.com/tag/delete/feed/" rel="self" type="application/rss+xml" />
	<link>http://velofille.com</link>
	<description>Blog of Liz Awesome Quilty</description>
	<lastBuildDate>Fri, 16 Dec 2011 01:31:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Removing iPhone or iPod Touch Calendar that wont disappear</title>
		<link>http://velofille.com/2009/11/19/removing-iphone-or-ipod-touch-calendar-that-wont-disappear/</link>
		<comments>http://velofille.com/2009/11/19/removing-iphone-or-ipod-touch-calendar-that-wont-disappear/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 21:49:23 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[Jailbreak]]></category>

		<guid isPermaLink="false">http://velofille.com/?p=682</guid>
		<description><![CDATA[I had a problem with my iPhone, i had previously added my google calendars to sync with iCal on the mac so they synced with my iPhone. THis was great except i couldn&#8217;t add things to them from the iPhone. When Google allowed exchange access i just set that up and used it, problem was [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvelofille.com%2F2009%2F11%2F19%2Fremoving-iphone-or-ipod-touch-calendar-that-wont-disappear%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvelofille.com%2F2009%2F11%2F19%2Fremoving-iphone-or-ipod-touch-calendar-that-wont-disappear%2F&amp;source=velofille&amp;style=normal&amp;service=ow.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I had a problem with my iPhone, i had previously added my google calendars to sync with iCal on the mac so they synced with my iPhone. THis was great except i couldn&#8217;t add things to them from the iPhone.</p>
<p>When Google allowed exchange access i just set that up and used it, problem was that I could no longer get rid of the old ones. I even set iTunes to sync NO calendars and deleted it all, and still i had a couple of these old calendars hanging about.<br />
I figured since I had jail broken my iPhone i should be able to look around the filesystem and see what the problem was. Fairly quickly i found in the user &#8216;mobile&#8217; home dir the files Library/Calendar/Calendar.sqlitedb (fullpath /private/var/mobile/Library/Calendar/Calendar.sqlitedb ) .<br />
I grabbed an sqllite editor from http://sourceforge.net/projects/sqlitebrowser/ , copied the file over to my local Linux machine.<br />
Opened the file in sqllite editor, went to Browse Data&#8217; then changed the dropdown to &#8216;Calendar&#8217;. Deleted the offending Calendars, saved and re-uploaded.<br />
Make sure you change the ownership so the mobile user can write to it!<br />
Hermes:/User/Library/Calendar root# chown mobile.mobile Calendar.sqlitedb</p>
<p>Now before you get cocky, make a backup before you overwrite the original eh? Just in case you bugger things up!</p>
<p>Command history</p>
<blockquote><p>wishes@tulip:~$ scp root@192.168.0.28:/User/Library/Calendar/Calendar.sqlitedb .<br />
root@192.168.0.28&#8242;s password:<br />
Calendar.sqlitedb                                                                                                                                                                                         100%  716KB 716.0KB/s   00:01<br />
wishes@tulip:~$ tar zvxf sqlitebrowser-1.3-i386.tar.gz<br />
sqlitebrowser<br />
wishes@tulip:~$ ./sqlitebrowser<br />
wishes@tulip:~$ scp Calendar.sqlitedb  root@192.168.0.28:/User/Library/Calendar/Calendar.sqlitedb-new<br />
root@192.168.0.28&#8242;s password:<br />
Calendar.sqlitedb                                                                                                                                                                                         100%  552KB 552.0KB/s   00:00<br />
wishes@tulip:~$ ssh root@192.168.0.28<br />
root@192.168.0.28&#8242;s password:<br />
Hermes:~ root# cd /User/Library/Calendar/<br />
Hermes:/User/Library/Calendar root# ls<br />
Calendar.sqlitedb  Calendar.sqlitedb-new<br />
Hermes:/User/Library/Calendar root# mv Calendar.sqlitedb Calendar.sqlitedb-old<br />
Hermes:/User/Library/Calendar root# mv Calendar.sqlitedb-new Calendar.sqlitedb<br />
Hermes:/User/Library/Calendar root# chown mobile.mobile Calendar.sqlitedb<br />
Hermes:/User/Library/Calendar root# logout<br />
Connection to 192.168.0.28 closed.
</p></blockquote>
<div class="plus-one-wrap"><g:plusone href="http://velofille.com/2009/11/19/removing-iphone-or-ipod-touch-calendar-that-wont-disappear/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://velofille.com/2009/11/19/removing-iphone-or-ipod-touch-calendar-that-wont-disappear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

