BQ Aquaris E 4.5 Ubuntu phone
  • Initial page
  • LANGS
  • Cosas que he aprendido al usar el teléfono BQ Aquaris E4.5, basado en Ubuntu
    • Summary
    • ¿Cómo configurar el acceso por SSH al teléfono a través de Wi-Fi?
    • Using IRC - the weechat application
    • El menú para comprobar el hardware
    • Compiling the MUA mutt and making a click app of it (UNFINISHED)
    • El cliente de correo Dekko
    • Compiling the Telegram client "telegram-cli" in the jail
    • Mandar mensajes SMS desde la línea de comandos (shell)
    • Installing an additional root FS and run 'mutt'
    • Desarrollar aplicaciones y el SDK (no revisado hasta ahora)
    • Instalación del firmware en el teléfono
    • Cambiar las aplicaciones (core-apps) mostradas en scope de aplicaciones
    • Historial del navegador Web
    • Acceso a registro (logs) del dispositivo BQ
    • Enlaces útiles
    • Histórico de llamadas y SMS
    • Cambiar las teclas de control de la aplicación de terminal
    • Importar y exportar contactos
    • Red inalámbrica: Usar el teléfono como punto de acceso (hotspot) a Internet
    • Leer contenido local de HTML con un navegador
    • Eliminar la información privada
    • Configuración en el ordenador(Linux/FreeBSD) usando el móvil conectado a Internet con tethering por
    • Other usefull commands (unsorted)
    • Reiniciar el escritorio Unity
    • Lanzar apps desde la línea de comandos del usuario phablet(shell)
    • Cortafuegos
    • Using ubuntu-device-flash
    • El archivo de configuración del GPRS
    • ssh localhost
    • Grabar la pantalla del teléfono(MIR) para presentaciones, charlas, etcétera hacia un ordenador(X11)
    • Exporting notes from app 'reminder'
    • Tareas de Cron
    • chapter30
    • GPS, maps && apps (uNav)
    • Red por USB: tethering
    • Notas sobre algunos aspectos del hardware
    • Dónde quedan guardados los ficheros (imágenes, documentos, etc.)
  • What I have learned about the Ubuntu mobile phone BQ Aquaris E4.5
    • Exporting notes from app 'reminder'
    • Cron jobs
    • chapter30
    • Summary
    • Using IRC - the weechat application
    • Import and export of Contacts
    • Wireles networking: The BQ as an AccessPoint (hotspot)
    • Some hints for your Linux/FreeBSD netbook using the BQ with USB tethering as a router to Internet
    • Firewall
    • Hardware test menus
    • Capturing the MIR screen for presentation, talks etc. on a X11 desktop
    • Compiling the MUA mutt and making a click app of it (UNFINISHED)
    • The MailUserAgent (MUA) Dekko
    • GPS, maps && apps (uNav)
    • Compiling the Telegram client "telegram-cli" in the jail
    • Sending SMS from shell
    • USB networking: tethering
    • Installing an additional root FS and run 'mutt'
    • Developmen and SDK (completely UNTESTED until now)
    • Notes about some hardware aspects
    • Flashing the device
    • How to alter presented apps in the app scope
    • Where the files (pictures, ...) end up
    • Webbrowser history
    • Access to logs in the device
    • How to get SSH access to the ubuntu-phone via Wifi
    • Usefull links
    • Call and SMS history
    • Reading local HTML content with a browser
    • Sanitisation
    • How to alter presented keyboard's Control keys
    • Other usefull commands (unsorted)
    • Restart the Unity UI
    • How to lauch apps from the phablet's cmd line
    • Using ubuntu-device-flash
    • GPRS config file
    • ssh localhost
Powered by GitBook
On this page

Was this helpful?

  1. What I have learned about the Ubuntu mobile phone BQ Aquaris E4.5

Import and export of Contacts

PreviousUsing IRC - the weechat applicationNextWireles networking: The BQ as an AccessPoint (hotspot)

Last updated 5 years ago

Was this helpful?

Contacts can be imported from vCard files:

$ syncevolution --import test.vcf backend=evolution-contacts
#0: pas-id-552B785D00000008

see also:

If you have many vcf files, put them in a directory and pass the directory name as the --import argument.

For export use:

$ syncevolution --export /home/phablet/Documents/utcontacts.vcf backend=evolution-contacts

More operations, see also

$ syncevolution --print-databases | more
...
Evolution Address Book = Evolution Contacts = evolution-contacts:
   Personal (system-address-book) 

$ syncevolution --print-items backend=evolution-contacts | more
...
pas-id-55290E7600000002: Sparda Bank
pas-id-5529531900000006: Hofpfisterei Deisenhofen
pas-id-552B785D00000008: Gemeinde Taufkirchen
...

The first word before the colon is an item ID. It is guaranteed to not contain a colon or characters that are special in a shell. The other item operation commands take such item IDs as optional parameters.

Print to stdout (mind the hyphen after --export!), using the native data format of the storage (no conversion):

$ syncevolution --export - backend=evolution-contacts --luids pas-id-55290E7600000002
BEGIN:VCARD
VERSION:3.0
N:;Sparda Bank;;;
X-EVOLUTION-FILE-AS:Sparda Bank
TEL;TYPE=voice,work:08007009050
FN:Sparda Bank
UID:pas-id-55290E7600000002
REV:2015-04-11T12:07:18Z(10)
END:VCARD

When several IDs are given, the vCards are seperated by empty lines, which are guaranteed to not occur in the items themselves. When no ID is given, all items are exported.

How to update a single contact:

$ syncevolution --export /tmp/sparda.vcf backend=evolution-contacts --luids pas-id-55290E7600000002

modify the file /tmp/sparda.vcf and reload it:

$ syncevolution --update /tmp/sparda.vcf backend=evolution-contacts --luids pas-id-55290E7600000002
#0: pas-id-55290E7600000002

or you may delete it with:

$ syncevolution --delete-items backend=evolution-contacts --luids pas-id-55290E7600000002
[INFO] deleting "Sparda Bank"

and restore it again from the file with:

$ syncevolution --import /tmp/sparda.vcf backend=evolution-contacts 
#0: pas-id-5579DC5D00000000

It is also possible to wipe out all items at once:

$ syncevolution --delete-items backend=evolution-contacts --luids '*'

Last updated: Sat Oct 17 13:09:43 CEST 2015

http://askubuntu.com/a/372342
https://syncevolution.org/wiki/item-operations