LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04:47 AM by catkin
Updated 06-26-2011 at 10: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 1178 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 04:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration