Changes
From Open Educational Resources
No change in size
, 14:36, 2 July 2020
Line 3: |
Line 3: |
| | | |
| === In Ubuntu === | | === In Ubuntu === |
− | # Put contacts on a spreadsheet with a common '''First name''' and '''Phone number''' in two columns and save as a CSV file on the Desktop as '''contacts.csv'''.
| + | 1 Put contacts on a spreadsheet with a common '''First name''' and '''Phone number''' in two columns and save as a CSV file on the Desktop as '''contacts.csv'''. |
| * Give Common First Name (Program name as part of the contact name). For example "RIE.XYZ." next column "Mobile number" <br> | | * Give Common First Name (Program name as part of the contact name). For example "RIE.XYZ." next column "Mobile number" <br> |
− | # Convert csv to vcard by running below commands on terminal.
| + | 2 Convert csv to vcard by running below commands on terminal. |
| '''<code>git clone <nowiki>https://github.com/mridah/csv2vcf.git</nowiki></code>''' | | '''<code>git clone <nowiki>https://github.com/mridah/csv2vcf.git</nowiki></code>''' |
| | | |
Line 11: |
Line 11: |
| | | |
| '''<code>python csv2vcf.py ~/Desktop/contacts.csv -s '{"name":1, "tel":2}'</code>''' | | '''<code>python csv2vcf.py ~/Desktop/contacts.csv -s '{"name":1, "tel":2}'</code>''' |
− | # Copy vcf file to the phone.
| + | 3 Copy vcf file to the phone. |
− | # Import vcf file to the contacts
| + | 4 Import vcf file to the contacts |
| | | |
| === In Windows === | | === In Windows === |