We have moved to a new Sailfish OS Forum. Please start new discussions there.

Export contacts from ssh terminal [answered]

asked 2016-11-18 19:39:52 +0300

Antti Branninen gravatar image

updated 2018-12-03 19:44:59 +0300

Tanghus gravatar image

Hi all,

Does anyone know of a way to export contacts via SSH? The phone's screen is smashed so obviously I can't use the gui, however the 'phone still works and I can SSH in just fine.



edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Edz
close date 2017-04-24 13:27:16.119536


On Ubuntu actually. That worked perfectly, thanks!

Antti Branninen ( 2016-11-18 20:05:08 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-11-18 19:59:10 +0300

Edz gravatar image

updated 2017-06-19 21:28:22 +0300

Asmir gravatar image

@Antti Branninen

Here's how I'd do it........first off, download WinSCP on your PC and install it (I'm assuming you are using Windows) https://winscp.net/eng/download.php

Connect your device to your PC and login to terminal and type this;

invoker --type=generic /usr/bin/vcardconverter -e /home/nemo/Documents/contacts.vcf - this will export contacts to a file in Documents called contacts.vcf

Now login to your device via WinSCP(you can be logged into the device with ssh and winscp at the same time) find the exported .vcf file and drag/drop it to your PC.

There is probably a more fancy way of doing this in terminal , but this should yield the desired result.

edit flag offensive delete publish link more


This does not export all contacts - on my device only 61 from about 300. If I understand right, all the contacts synced from some cloud are missing. If you need those from the phone (if you can't sync with the cloud anymore for example, and no thats not uncommon), you're lost.

Also there's no way I know of to check which contacts are missing. Exporting them through the export function gets the same 61 incomplete contacts.

Flox ( 2018-12-27 17:37:51 +0300 )edit

Question tools



Asked: 2016-11-18 19:39:52 +0300

Seen: 527 times

Last updated: Jun 19 '17