Thread
:
Extract contacts from backup files
View Single Post
manvik60
2010-07-29 , 17:44
Posts: 128 | Thanked: 46 times | Joined on Mar 2010 @ Switzerland
#
10
Hi flair,
Glad it worked for you. But I just noticed that, the code is missing the backslash at the end. But when I edit it, I see the "\" properly, so may be when you write PHP code in forum, it dosen't display "\" :-(
Any ways the code with \ is below.
db4.5_dump.exe -p addressbook.db | sed -e '9,$ !d' \
-e '/^ pas-id/d' \
-e 's/\\0d\\0a/\n/g' \
-e 's/\\\\, / /g' \
-e 's/^ //' -e 's/\\00//' \
-e 's/\\c3\\89/É/g' \
-e 's/\\c3\\8a/È/g' \
-e 's/\\c3\\a9/é/g' \
-e 's/\\c3\\a8/è/g' \
-e 's/\\c3\\aa/ê/g' \
-e 's/\\c3\\a0/à/g' \
-e 's/\\c3\\a1/á/g' \
-e 's/\\c3\\a2/â/g' \
-e 's/\\c3\\a7/ç/g' \
-e 's/\\c3\\b4/ô/g' \
-e 's/\\c3\\af/ï/g' \
-e 's/\\c3\\ab/ë/g' \
> mycontact.vcf
Quote & Reply
|
The Following User Says Thank You to manvik60 For This Useful Post:
titou1234
manvik60
View Public Profile
Send a private message to manvik60
Find all posts by manvik60