|
|
A command to convert text files into Address Book vCards
How would this be used to Create a file with Names and E-mail addresses?
A command to convert text files into Address Book vCards
That would be extremely useful.
A command to convert text files into Address Book vCards
Use the Address Book app to create an address card with all fields filled out. Drag it to the Desktop and open with TextEdit. You can then see all of the tags that are used.
A command to convert text files into Address Book vCards
All you have to do is use the awk code I've modified below, and add another tab field to the text file with the email address.
eg: name [tab] phone [tab] email awk -F\t ' {print "BEGIN:VCARD"; print "VERSION:3.0"; print "N:"$1; print "EMAIL;type=WORK;type=pref:"$3; print"TEL;type=WORK;type=pref:"$2; print "END:VCARD" $4; print $4 }' infile.txt > newfile.vcf
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.15 seconds |
|