Ask / Submit
0

Export contacts from ssh terminal [answered]

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

Antti Branninen gravatar image

updated 2017-04-24 22:53:56 +0300

_ _ _ _ T A _ _ _ _ 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.

Thanks,

AB

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

Comments

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
5

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

Question tools

Follow
2 followers

Stats

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

Seen: 351 times

Last updated: Jun 19