Reply
Thread Tools
Posts: 53 | Thanked: 8 times | Joined on Apr 2010
#1
I'd like to move my contacts to a new device from my beloved brick, and have been trying to find the easiest way.

Ideally I'd like to export a spreadsheet from my phone and then upload that into my main Google Apps email account.

I have tried MfE to sync my contacts, but it's giving some errors. I'm also using Backup app, but that created a zip file and I've started looking through it but there's a lot in there and no sign of a contacts spreadsheet!

My preference would be to just export all contacts to a spreadsheet and then take that off the device. Is that possible, please?

Last edited by edanto; 2010-09-21 at 22:40.
 

The Following User Says Thank You to edanto For This Useful Post:
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#2
Open contacts, hit the title bar and press export. You will get a list of vcards in a directory ready for you to transfer to your other device.
 

The Following User Says Thank You to JonWW For This Useful Post:
Posts: 53 | Thanked: 8 times | Joined on Apr 2010
#3
oh my word, that was so easy! I can probably manipulate the vcards into the new device (it's a htc) or into Google Apps

thanks!
 

The Following User Says Thank You to edanto For This Useful Post:
Posts: 182 | Thanked: 40 times | Joined on Apr 2010 @ Seatle, WA
#4
remember there is one vcard per contact, so it kind of becomes PITA to import them.

you can use the following command to merge all vcard into one file

more *.vcf > ../all.vcf

and then open the all.vcf in notepad++ and replace END VCARDBEGIN VCARD with END VCARD\n\n BEGIN VCARD

as every thing is appended in one file, the next vcard does not got to new line after ending of previous vcard.

once the replace is done, you are all set to import all the vcard into google or outlook or evolution.
 

The Following User Says Thank You to mehulrajput For This Useful Post:
Posts: 53 | Thanked: 8 times | Joined on Apr 2010
#5
thank you, that is particularly helpful! i would not have had a clue how to merge those vcards into 1 file and really appreciate the detailed help.
 
Posts: 53 | Thanked: 8 times | Joined on Apr 2010
#6
thanks mehulrajput!

I'm having some trouble with the find/replace step - would you have a few minutes to help please?

I created the all.vcf file, and here's an excerpt. (I snipped the details obviously for privacy). As you can see I don't have a "END VCARDBEGIN VCARD" string, it's different in each case.


::::::::::::::
Abbey.vcf
::::::::::::::
BEGIN:VCARD
VERSION:3.0
UID:1397
REV:2010-05-31T13:44:15Z
TEL;TYPE=CELL,VOICE:+353 <snip>
FN:Abbey
N:Abbey;;;;
END:VCARD::::::::::::::
Adrian Lynch.vcf
::::::::::::::
BEGIN:VCARD
VERSION:3.0
UID:1398
REV:2010-05-31T13:44:15Z
TEL;TYPE=CELL,VOICE:+353<snip>
FN:Lynch\, Adrian
N:Lynch;Adrian;;;
END:VCARD::::::::::::::
Adrienne Mockler.vcf
::::::::::::::
BEGIN:VCARD
VERSION:3.0
UID:1399
REV:2010-05-31T13:44:15Z
TEL;TYPE=CELL,VOICE:+353<snip>
FN:Mockler\, Adrienne
N:Mockler;Adrienne;;;
END:VCARD

On top of that I don't have (and can't seem to figure out how to get) notepad++ for my ubuntu. I have gedit and the doing find-replace with /n/n only adds in '/n/n' as opposed to adding in a new line.

Any tips, please?
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#7
You can use "glogarchive 0.7"

It exports to ".csv" is read by Excel, etc ...
 

The Following User Says Thank You to WhiteWolf For This Useful Post:
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#8
Originally Posted by edanto View Post
As you can see I don't have a "END VCARDBEGIN VCARD" string, it's different in each case.
Try using cat instead:
Code:
cat *.vcf > ../all.vcf
I have gedit and the doing find-replace with /n/n only adds in '/n/n' as opposed to adding in a new line.
Note back slash not forward slash
Code:
\n\n
 

The Following User Says Thank You to kureyon For This Useful Post:
Posts: 182 | Thanked: 40 times | Joined on Apr 2010 @ Seatle, WA
#9
Originally Posted by edanto View Post
thanks mehulrajput!

I'm having some trouble with the find/replace step - would you have a few minutes to help please?

I created the all.vcf file, and here's an excerpt. (I snipped the details obviously for privacy). As you can see I don't have a "END VCARDBEGIN VCARD" string, it's different in each case.


::::::::::::::
Abbey.vcf
::::::::::::::
BEGIN:VCARD
VERSION:3.0
UID:1397
REV:2010-05-31T13:44:15Z
TEL;TYPE=CELL,VOICE:+353 <snip>
FN:Abbey
N:Abbey;;;;
END:VCARD::::::::::::::
Adrian Lynch.vcf
::::::::::::::
BEGIN:VCARD
VERSION:3.0
UID:1398
REV:2010-05-31T13:44:15Z
TEL;TYPE=CELL,VOICE:+353<snip>
FN:Lynch\, Adrian
N:Lynch;Adrian;;;
END:VCARD::::::::::::::
Adrienne Mockler.vcf
::::::::::::::
BEGIN:VCARD
VERSION:3.0
UID:1399
REV:2010-05-31T13:44:15Z
TEL;TYPE=CELL,VOICE:+353<snip>
FN:Mockler\, Adrienne
N:Mockler;Adrienne;;;
END:VCARD

On top of that I don't have (and can't seem to figure out how to get) notepad++ for my ubuntu. I have gedit and the doing find-replace with /n/n only adds in '/n/n' as opposed to adding in a new line.

Any tips, please?
oh i sorry didn't realise you have ubuntu installed. it is much more easier in ubuntu :-)... so here you go..

create all.vcf using the following command. you will have to be in the directory where single vcf for each contact is kept.

cd <directory to where single vcf are kept>
more *.vcf > ../all.vcf
cd ..

now open vi editor

vi all.vcf

type the following command

:%s/END VCARDBEGIN VCARD/END VCARD\n\nBEGIN VCARD/g
:wq

and you are all set. sorry do not know how to do it through gedit as i more of a vi guy :-)
 

The Following User Says Thank You to mehulrajput For This Useful Post:
Posts: 8 | Thanked: 18 times | Joined on Apr 2010 @ USA
#10
You can do all of that using the N900 shell:

Code:
ls -x *.vcf | while read i ; do 
  cat "$i" >> all.vcf ; 
  echo -en "\n\n" >> all.vcf ; 
done
 

The Following 3 Users Say Thank You to janeuner For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:27.