one-liner to Concatenate Vcard names and numbers
andyfrommk at gmail.com
Sat Nov 24 14:29:28 PST 2012
After watching a guy on the news talk about flood preparedness and a need
to have a papercopy of your contacts phone numbers I came up with this
perl -ne '/FN:/ && print, /TEL;/ && print' *.vcf > ~/vcardsinfo.txt
You may need to switch the two regexs as fields are not always in the same
order, also contacts with no telephone number show up!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MiltonKeynes-pm