contacts mobile phone vcf filter android unicode to ascii #632
Unanswered
ficmatinfmag
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I make a backup of my mobile phone contact list. The result is below adjusted for portuguese language. Need adjust for your own language but it is the way.
Record it in your computer and load with only one parameter that is the file name .vcf generated by your android mobile phone. Use the character ``>'' to redirect the output to a file. May be a file.txt or a file.vcf.
It was developed/used in GNU/Linux/Shell Bash.
#begin
cat $1 | sed "s/'/#/g" | sed 's/=/,/g
s/,30/0/g
s/,31/1/g
s/,32/2/g
s/,41/A/g
s/,42/B/g
s/,43/C/g
s/,44/D/g
s/,45/E/g
s/,46/F/g
s/,47/G/g
s/,48/H/g
s/,49/I/g
s/,4A/J/g
s/,4B/K/g
s/,4C/L/g
s/,4D/M/g
s/,4E/N/g
s/,4F/O/g
s/,50/P/g
s/,51/Q/g
s/,52/R/g
s/,53/S/g
s/,54/T/g
s/,55/U/g
s/,56/V/g
s/,57/W/g
s/,58/X/g
s/,59/Y/g
s/,5A/Z/g
s/,61/a/g
s/,62/b/g
s/,63/c/g
s/,64/d/g
s/,65/e/g
s/,66/f/g
s/,67/g/g
s/,68/h/g
s/,69/i/g
s/,6A/j/g
s/,6B/k/g
s/,6C/l/g
s/,6D/m/g
s/,6E/n/g
s/,6F/o/g
s/,70/p/g
s/,71/q/g
s/,72/r/g
s/,73/s/g
s/,74/t/g
s/,75/u/g
s/,76/v/g
s/,77/w/g
s/,78/x/g
s/,79/y/g
s/,20/ /g
s/,C3,A7/c/g
s/;CHARSET,UTF-8;ENCODING,QUOTED-PRINTABLE//g
s/,C3,B4/o/g
s/,C3,A1/a/g
s/,C3,AD/i/g
s/,C3,A3/a/g
s/,C3,A9/e/g
s/,C3,B5/o/g
s/,7A/z/g' | sed "s/#/'/g"
#End
Beta Was this translation helpful? Give feedback.
All reactions