~cypheon/pkgsrc-wip

pkgsrc-wip/pdb2ldif/DESCR -rw-r--r-- 683 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Perl program to convert Palm Address Book (AddressDB.pdb) files
to .ldif files, which can be easily imported into an LDAP
directory with the following command:

 cat <file.ldif> | ldapadd -w <passwd> -D <binddn>

or even more easy:

 pdb2ldif --pdb=<address.pdb> | ldapadd -w <passwd> -D <binddn>

The program takes --pdb= as the PDB file and directs output to <STDOUT>.
If you're very crafty, you can probably do a lot more with unix pipes,
but this should be acceptable for most people.

Requires p5-Palm libraries (available separately)
Getopt is also required, but should have been part of your Perl distro.

Y2K issues:  Good until 2038, they you'll need a 64-bit processor :-)