[jp] Dumping and Merging Palm DBs

  • Previous message: [jp] Dumping and Merging Palm DBs - Removing duplicate records
  • Next message: [jp] Dumping and Merging Palm DBs
  • Nicholas Piper nick-moongroup at nickpiper.co.uk
    Sun Feb 25 18:55:15 EST 2007

     

    Lukas,
    
    On Sat, 24 Feb 2007, Lukas Ruf wrote:
    > > Nicholas Piper <nick-moongroup at nickpiper.co.uk> [2007-02-24 19:19]:
    > > On Thu, 22 Feb 2007, Lukas Ruf wrote:
    
    > > > due to business/employment, I had to switch managing my contacts
    > > > and datebook entries from Linux/jpilot to Windows.
    
    > > > After a couple months, I have realised that for any strange
    > > > reason, previous datebook, addressbook and GNU-keyring entries
    > > > disappeared.
    
    > > > Since I have many PDB-backups from previous good-times, I wondered
    > > > if there is any toolset related to palm/jpilot that I can use
    
    > > > - to dump datebook, addressbook and GNU-keyring to stdout
    > > > (preferrably one record per line, CVS or similar)
    
    > > I don't know about keyring, but for datebook and addressbook did you
    > > try jpilot-dump?
    
    > I do use jpilot-dump and created meanwhile a script to linearize the
    > records, one-per line.  But I do not know how to dump the keyring
    > stuff.
    
    Google shows me
    http://www.vromans.org/johan/software/sw_palmkeyring.html and
    http://www.nntp.perl.org/group/perl.modules/2007/01/msg52786.html 
    
    > > > - to merge different versions of each of these PDBs
    
    > > Not sure. This would be tricky. What kind of merge do you mean? Just
    > > 'combine'? How to determine which records are the same and one of
    > > them should be dropped? You could probably do it with some Perl or
    > > Python hacking.
    
    > That's exactly the problem: many records are duplicated.
    
    > Do you know whether I do need to compare field-by-field?
    
    How did you merge? Maybe you could use (as 'TR' suggested) a
    de-duplication tool after?
    
    Depending if all your record UIDs are correct, you could only pull in
    records from your old pdb's which have UIDs that you don't currently
    have?
    
    > > > - to install by any means addressbook, datebook and GNU-keyring
    > > > entries either via stdin or from a ASCII-text-file back to the
    > > > palm (Vx).
    
    > > You could beam ical/vcard entries to it? Created a merged pdb and
    > > beam/install that? Maybe use a perl or python library to add entries
    > > to the jpilot pdb or pc3 file, then sync? (If you edit the pdb,
    > > don't sync, I believe you should just then use pilot-xfer -i)
    
    > Is there any way to install one record a time?
    
    Beam (IrDA or Bluetooth) a single vcard file at a time? Or maybe
    attach it to an mail and use versamail?
    
     Nick
    
    -- 
    Nick Piper, Developer, LogicaCMG           http://www.nickpiper.co.uk/
    GPG Encrypted mail welcome!                             1024D/3ED8B27F
    Choose life. Be Vegan :-) Please reduce needless cruelty & suffering !
    
    

     

     

    More information about the jpilot mailing list