I have updated and extended the GPLed tool "dtmdump" to
a) fix bugs
make XML output more compliant
c) add a "write" mode to parse XML and update the DTM -
DANGEROUS!Download link for sources (compiled on a Mac with Zaurus-X-gcc) and binary:
http://www.dsitri.de/download/dtmdump-src.tgzTo install:1. make sure you have Sharp ROM with DTM database!
2. unpack on your host
3. transfer the executable 'dtmdump' to /home/QtPalmtop/bin
4. do chmod +x dtmdump
5. use
AT YOUR OWN RISK!Command description:dtmdump AddressBook read address book
dtmdump ToDo read ToDo list
dtmdump Calendar read Calendar
dtmdump Memo read Notes (from Text Editor)
Files created with these commands can be read back (do to some sort of backup), e.g.:
dtmdump AddressBook >addresses.xml
dtmdump -w AddressBook <addresses.xml
There is a special code <delete/> to delete entries:
e.g.
# dtmdump -w Todo
ctl-D
NOTE: We have just completed the code. So, this command may wipe out all your calendars, address book, to do list, mail and notes entries. So, make a backup before experimenting!
Anyway - if you find bugs, please report.
How to compileYou need a Mac and Zaurus-X-gcc or you have to modify the Makefile.
The Makefile assumes that you have the Zaurus online (and enabled for ssh access). It automatically fetches the libzdtm.so to link against and automatically installs the updated binary on the Zaurus. This speeds up development the cycle dramatically. (Edit in Xcode, Start Makefile, test in ssh commandline on Zaurus).
-- hns
ZMacSync project
http://www.dsitri.de/wiki.php?page=ZMacSync