LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Script to prepare a Thunderbird PAB export for gnokii to write to Nokia series 40

Posted 05-19-2011 at 03:47 AM by catkin
Updated 06-26-2011 at 09:40 AM by catkin (Version 0.2 of the script)

Hello

Here's a script to prepare a Thunderbird Address Book LDIF export for gnokii --writephonebook to write to a Nokia Series 40. The usage is something like:
Code:
cat /tmp/TB.PAB.ldif \
  | prepare_ldif_for_gnokii.awk \
  1>/tmp/ldif.prepared \
  2>/tmp/prepare_ldif_for_gnokii.log
cat /tmp/ldif.prepared \
  | gnokii --writephonebook --overwrite --memory-type ME --ldif \
  2>/tmp/gnokii.stderr
The script:
Code:
#!/usr/bin/awk
...
LQ 5k Club
Posted in Uncategorized
Views 1951 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration