[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I put the script(s) in the Calendars/ directory on the iPod.  That way, 
regardless of the OS that I'm plugging the iPod up to, I can just click 
on it (from there) and it'll run.  I've gotta find a way to get the 
first line to work (normally #!/bin/bash, but different depending on 
which OS you're using).  It 'looks for' the files it needs (cp, mv), 
which will hopefully give it a little bit of flexibility.
--

registered linux user # 73046

Nathan J. Underwood
nathan.underwood at cybertechcafe.net
Proverbs 16:11

Nathan J. Underwood wrote:
> Everyone,
> 
>     First, a couple of notes.  This is a work in progress, and isn't 
> meant to be a be-all / end-all (basically, no flames please).  Second, 
> it's OT, probably could get the 'very OT' stamp without too much of a 
> stretch.  Third, it's (in it's current state) for a Windoze environment 
> running cygwin, but it should be pretty easy to tweak it a bit so that 
> it's usable on anything that'll run bash.
>     Now, to the good stuff.  I recently (Sunday) broke down and bought 
> an iPod.  After opening the box and tinkering with it a bit, I found 
> that it supports iCal, so I was off to try to find a way to get it to 
> sync with my Mozilla Calendar (plugin for the Firefox browser).  Suffice 
> it to say, I didn't find much, so I started looking for a way to do it 
> on my own, and came up with this little solution.
> 
> switch.bat -> simply a batch file telling it to run this in bash
> update.sh -> a bash script that checks for the existence of a 
> calendar.ics file, and backs it up (*moves it to calendar.ics.old), and 
> then downloads (using wget & ftp) the calendar file from an ftp server.
>     I realize that this is probably pretty elementary for most of the 
> coding guru's out there, but it's pretty functional for me, and I 
> thought maybe someone else could use it.
> 
> * move rather than copy because I'm using wget to download the actual 
> calendar file, and wget doesn't want to overwrite the original
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00403" href="msg00403.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
<ul><li><em>From:</em> ale1 at cybertechcafe.net (Nathan J. Underwood)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00403.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00405.html">[ale] tar and date</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00403.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00405.html">[ale] tar and date</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00404"><strong>Date</strong></a></li>
<li><a href="threads.html#00404"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>