Perl script desktop companion to mobileGTD

2 views
Skip to first unread message

palmheads

unread,
Jan 26, 2009, 3:54:00 PM1/26/09
to MobileGTD
Hi

Have just recently hacked up (literally given my dodgy coding skills!)
a perl scipt that manages the mobileGTD file structure thru the
command line on a linux box. I've based the idea on todo.txt (http://
todotxt.com/). It doesn't use any of the existing config files for
mobileGTD. All done in ubuntu linux, so no idea if it works in windows
etc with activeperl etc.I don't handle sub-directories with the
folders as my own personal usage is fairly basic.

Here it is:
http://planetnz.com/palmheads/files/gtd.txt

Its just been hacked up, so probably lots of bugs, but seems to mostly
work for me. chmod +x to make it executable etc in your bin/
directory, rename it to gtd.pl.

gtd.pl help

cheers
Daryn


Martin Mauch

unread,
Jan 27, 2009, 4:50:40 AM1/27/09
to mobi...@googlegroups.com
Nice work!

And pretty readable code for perl! 

A while ago I also started an implementation in Ruby (best programming language + great libraries called gems) called GTDFiles:

If you have tested your script for a while I will also post it on the web site.

Cheers
  Martin

Yue Wu

unread,
Jan 27, 2009, 5:00:48 AM1/27/09
to mobi...@googlegroups.com
Where can I see these posts?

p.s. please make its crossplatform if possible, I use both windows and
freebsd.

On Tue, 27 Jan 2009 17:50:40 +0800, Martin Mauch <martin...@gmail.com>
wrote:

> Nice work!
> And pretty readable code for perl! [?]
--
Regards,
Van.

Martin Mauch

unread,
Jan 27, 2009, 12:44:04 PM1/27/09
to mobi...@googlegroups.com
I think except for the $basedir variable the script could run in windows, too.
You can use ActivePerl as a Perl interpreter.

Martin

palmheads

unread,
Jan 27, 2009, 3:19:16 PM1/27/09
to MobileGTD
Yeah Martin, I think your right. If you made the basedir path "C:
\fdgdfg\" etc it would probably work in windows. The only other thing
would be I make some system calls occasionally (file manipulation
etc), so that would also require changes. But easy enough for someone
with windows to debug.

On Jan 28, 6:44 am, Martin Mauch <martin.ma...@gmail.com> wrote:
> I think except for the $basedir variable the script could run in windows,
> too.You can use
> ActivePerl<http://www.activestate.com/store/freedownload.aspx?prdGuid=81fbce82-6...>

palmheads

unread,
Jan 27, 2009, 3:25:45 PM1/27/09
to MobileGTD
Cheers Martin - yeah i saw that ruby project! that also inspired me to
do my wee script.

I also hate when people make perl unreadable!

Let me use my script for a few weeks & see if it works. I'II let you
know when I think its useable by others!!! :-)

On Jan 27, 10:50 pm, Martin Mauch <martin.ma...@gmail.com> wrote:
> Nice work!
> And pretty readable code for perl! [?]

Martin Mauch

unread,
Jan 28, 2009, 3:20:06 AM1/28/09
to mobi...@googlegroups.com
Hey Daryn,

Just send me the script when you feel it's ready for the public ;)
Again: Nice work! Thanks!!

  Martin

2009/1/27 palmheads <d...@planetnz.com>
Reply all
Reply to author
Forward
0 new messages