<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Interact with Google Apps at the Command Line</title>
	<atom:link href="http://smarterware.org/6327/get-your-google-data-at-the-command-line/feed" rel="self" type="application/rss+xml" />
	<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line</link>
	<description>A blog about software</description>
	<lastBuildDate>Thu, 01 Dec 2011 21:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Sufian Siddiqi</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2580</link>
		<dc:creator>Sufian Siddiqi</dc:creator>
		<pubDate>Tue, 20 Jul 2010 22:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2580</guid>
		<description>I&#039;ve got multiple calendars on my account so I use the following to retrieve all events for the day via terminal:

echo &quot;Next 24hrs: &quot;;google calendar today when,title --delimiter &quot; &#124; &quot; --cal &quot;.*&quot;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got multiple calendars on my account so I use the following to retrieve all events for the day via terminal:</p>
<p>echo &#8220;Next 24hrs: &#8220;;google calendar today when,title &#8211;delimiter &#8221; | &#8221; &#8211;cal &#8220;.*&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon White</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2511</link>
		<dc:creator>Jon White</dc:creator>
		<pubDate>Thu, 01 Jul 2010 02:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2511</guid>
		<description>want to add my todo.txt file to google docs but when I upload it creates a new file each time.  How can I overwrite it?</description>
		<content:encoded><![CDATA[<p>want to add my todo.txt file to google docs but when I upload it creates a new file each time.  How can I overwrite it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tuckerbrennan</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2496</link>
		<dc:creator>tuckerbrennan</dc:creator>
		<pubDate>Fri, 25 Jun 2010 05:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2496</guid>
		<description>Wow.  Downloading my Picasa albums from a command line was a borderline religious experience.</description>
		<content:encoded><![CDATA[<p>Wow.  Downloading my Picasa albums from a command line was a borderline religious experience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: google.com/profiles/ca…</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2495</link>
		<dc:creator>google.com/profiles/ca…</dc:creator>
		<pubDate>Fri, 25 Jun 2010 02:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2495</guid>
		<description>Does anyone know if there is a way to display subscribed calendars (non-editable) in Google CL?</description>
		<content:encoded><![CDATA[<p>Does anyone know if there is a way to display subscribed calendars (non-editable) in Google CL?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barron Bichon</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2477</link>
		<dc:creator>Barron Bichon</dc:creator>
		<pubDate>Mon, 21 Jun 2010 18:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2477</guid>
		<description>I&#039;m no BASH expert, but here&#039;s what I threw together to show the start times of events for the next week in an alternate date format:

&lt;code&gt;
!/bin/bash

BEG=$(date &quot;+%Y-%m-%d&quot;)
END=$(date -v+7d &quot;+%Y-%m-%d&quot;)

google calendar list -d $BEG,$END when,title &gt; gcal.tmp

while read line
do 
    G_DATE=${line:0:12}
    MY_DATE=$(date -j -f &quot;%b %d %H:%M&quot; &quot;$G_DATE&quot; &quot;+%A %l:%M %p&quot;)
    echo $MY_DATE &quot;-&quot; ${line:28}
done &lt; gcal.tmp

\rm -rf gcal.tmp
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;m no BASH expert, but here&#8217;s what I threw together to show the start times of events for the next week in an alternate date format:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">!/bin/bash<br />
<br />
BEG=$(date &quot;+%Y-%m-%d&quot;)<br />
END=$(date -v+7d &quot;+%Y-%m-%d&quot;)<br />
<br />
google calendar list -d $BEG,$END when,title &amp;gt; gcal.tmp<br />
<br />
while read line<br />
do <br />
&nbsp; &nbsp; G_DATE=${line:0:12}<br />
&nbsp; &nbsp; MY_DATE=$(date -j -f &quot;%b %d %H:%M&quot; &quot;$G_DATE&quot; &quot;+%A %l:%M %p&quot;)<br />
&nbsp; &nbsp; echo $MY_DATE &quot;-&quot; ${line:28}<br />
done &amp;lt; gcal.tmp<br />
<br />
\rm -rf gcal.tmp</div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: rashwell</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2470</link>
		<dc:creator>rashwell</dc:creator>
		<pubDate>Sun, 20 Jun 2010 16:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2470</guid>
		<description>Why not create the cloud version of todo.txt by having it automatically store is data in a google docs spreadsheet?</description>
		<content:encoded><![CDATA[<p>Why not create the cloud version of todo.txt by having it automatically store is data in a google docs spreadsheet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gina Trapani</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2460</link>
		<dc:creator>Gina Trapani</dc:creator>
		<pubDate>Sat, 19 Jun 2010 17:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2460</guid>
		<description>@Chad: the Dropbox component is a great idea.

@Ramon: I didn&#039;t know about when, or the delimiter!

My new favorite calendar command:

&lt;code&gt;$ google calendar today when,title --delimiter &quot; &#124; &quot; &lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Chad: the Dropbox component is a great idea.</p>
<p>@Ramon: I didn&#8217;t know about when, or the delimiter!</p>
<p>My new favorite calendar command:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ google calendar today when,title --delimiter &quot; | &quot;</div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Stephen Albert</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2459</link>
		<dc:creator>Chad Stephen Albert</dc:creator>
		<pubDate>Sat, 19 Jun 2010 12:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2459</guid>
		<description>I made up a shell script that dumps today&#039;s calendar events to a text file that gets displayed in Conky on my desktop. Nice clean list of the days events above a todo.txt list. The text file is in Dropbox, so it&#039;s across several locations for use on other machines. 

#!/bin/bash
google calendar today title &gt;today.txt

use a simple cron job to update the today file every however often, and you&#039;re good to go....</description>
		<content:encoded><![CDATA[<p>I made up a shell script that dumps today&#8217;s calendar events to a text file that gets displayed in Conky on my desktop. Nice clean list of the days events above a todo.txt list. The text file is in Dropbox, so it&#8217;s across several locations for use on other machines. </p>
<p>#!/bin/bash<br />
google calendar today title &gt;today.txt</p>
<p>use a simple cron job to update the today file every however often, and you&#8217;re good to go&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramón</title>
		<link>http://smarterware.org/6327/get-your-google-data-at-the-command-line#comment-2454</link>
		<dc:creator>Ramón</dc:creator>
		<pubDate>Sat, 19 Jun 2010 05:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://smarterware.org/?p=6327#comment-2454</guid>
		<description>Wow, this is pretty awesome!  I wrote this  script and added a launcher to my panel in Ubuntu to execute it.  It displays my calendar events for the next 24 hours in a OSD notification.

&lt;code&gt;
#!/bin/bash
#
#events from Google calendar in the next 24 hours in an OSD notification

google calendar today title,when --delimiter=&quot;, &quot; &gt; /tmp/24hrs.txt

current_time=`date +%r`
msg=&quot;The current time is $current_time&quot;

while read event;
do

msg=&quot;$msg
------------------
$event&quot;

done &lt; /tmp/24hrs.txt

notify-send &quot;Events in next 24 hours&quot; &quot;$msg&quot;
rm /tmp/24hrs.txt
exit 0
&lt;/code&gt;


Too bad &#039;today&#039; does not actually return today&#039;s events.  Also the &#039;--date&#039; option seems a little buggy.</description>
		<content:encoded><![CDATA[<p>Wow, this is pretty awesome!  I wrote this  script and added a launcher to my panel in Ubuntu to execute it.  It displays my calendar events for the next 24 hours in a OSD notification.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/bash<br />
#<br />
#events from Google calendar in the next 24 hours in an OSD notification<br />
<br />
google calendar today title,when --delimiter=&quot;, &quot; &amp;gt; /tmp/24hrs.txt<br />
<br />
current_time=`date +%r`<br />
msg=&quot;The current time is $current_time&quot;<br />
<br />
while read event;<br />
do<br />
<br />
msg=&quot;$msg<br />
------------------<br />
$event&quot;<br />
<br />
done &amp;lt; /tmp/24hrs.txt<br />
<br />
notify-send &amp;quot;Events in next 24 hours&amp;quot; &amp;quot;$msg&amp;quot;<br />
rm /tmp/24hrs.txt<br />
exit 0</div></td></tr></tbody></table></div>
<p>Too bad &#8216;today&#8217; does not actually return today&#8217;s events.  Also the &#8216;&#8211;date&#8217; option seems a little buggy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

