Из txt в vcf

Discussion in 'Песочница' started by AndreyG1992, 27 Dec 2019.

  1. AndreyG1992

    AndreyG1992 New Member

    Joined:
    12 Apr 2016
    Messages:
    32
    Likes Received:
    3
    Reputations:
    1
    Ребят всем доброго времени суток, подскажите пожалуйста как можно конвертировать контакты из txt в файл vcf? 24к контактов :(
     
  2. people2people

    people2people Banned

    Joined:
    1 Dec 2019
    Messages:
    159
    Likes Received:
    66
    Reputations:
    0
  3. AndreyG1992

    AndreyG1992 New Member

    Joined:
    12 Apr 2016
    Messages:
    32
    Likes Received:
    3
    Reputations:
    1
  4. vikaig

    vikaig Member

    Joined:
    3 Jul 2019
    Messages:
    50
    Likes Received:
    38
    Reputations:
    0
    Что тут искать то два дня, это в терминале можно сдедать за пару минут, там же формат простейший
     
  5. AndreyG1992

    AndreyG1992 New Member

    Joined:
    12 Apr 2016
    Messages:
    32
    Likes Received:
    3
    Reputations:
    1
    Подробнее пожалуйста :)
     
  6. vikaig

    vikaig Member

    Joined:
    3 Jul 2019
    Messages:
    50
    Likes Received:
    38
    Reputations:
    0
    Google->bash
     
  7. lifescore

    lifescore Elder - Старейшина

    Joined:
    27 Aug 2011
    Messages:
    651
    Likes Received:
    511
    Reputations:
    72
    Code:
    !#/bin/bash
    
    cat list_phones.txt | while read line; do echo -e "BEGIN:VCARD\nVERSION:2.1\nTEL;CELL:$line\nEND:VCARD\n"; done >> nums.vcf