tool for converting csv file to vcard 2.1 and 3.0












0















Are there any command line tools to generate vcard files on unix platform? I did some research and either there are some commercial softwares or applications like KDE or akonadi to store contacts.



I would either have the contact information in csv or db and the tools should either generate a vcard 2.1 or 3.0 depending on some input.



Found some links to a bash script, but that doesnt seem to work.



Please suggest.



Regards










share|improve this question



























    0















    Are there any command line tools to generate vcard files on unix platform? I did some research and either there are some commercial softwares or applications like KDE or akonadi to store contacts.



    I would either have the contact information in csv or db and the tools should either generate a vcard 2.1 or 3.0 depending on some input.



    Found some links to a bash script, but that doesnt seem to work.



    Please suggest.



    Regards










    share|improve this question

























      0












      0








      0


      1






      Are there any command line tools to generate vcard files on unix platform? I did some research and either there are some commercial softwares or applications like KDE or akonadi to store contacts.



      I would either have the contact information in csv or db and the tools should either generate a vcard 2.1 or 3.0 depending on some input.



      Found some links to a bash script, but that doesnt seem to work.



      Please suggest.



      Regards










      share|improve this question














      Are there any command line tools to generate vcard files on unix platform? I did some research and either there are some commercial softwares or applications like KDE or akonadi to store contacts.



      I would either have the contact information in csv or db and the tools should either generate a vcard 2.1 or 3.0 depending on some input.



      Found some links to a bash script, but that doesnt seem to work.



      Please suggest.



      Regards







      vcard






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 22 '14 at 11:51









      chinguptchingupt

      1021315




      1021315
























          2 Answers
          2






          active

          oldest

          votes


















          1














          The Java library ez-vcard can do this:



          File fromFile = new File("vcard-2.1.vcf");
          File toFile = new File("vcard-3.0.vcf");

          Ezvcard.write(Ezvcard.parse(fromFile).all()).
          version(VCardVersion.V3_0).go(toFile);





          share|improve this answer


























          • Now at github.com/mangstadt/ez-vcard.

            – not-a-user
            Mar 30 '17 at 12:55



















          0














          I used the default Kubuntu KAddressBook program (18.04). Just import a VCF 2.1 file and export it again.



          You can choose different formats for export:



           -vCard 2.1
          -vCard 3.0
          -vCard 4.0
          -CSV
          -LDIF





          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f21282150%2ftool-for-converting-csv-file-to-vcard-2-1-and-3-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            The Java library ez-vcard can do this:



            File fromFile = new File("vcard-2.1.vcf");
            File toFile = new File("vcard-3.0.vcf");

            Ezvcard.write(Ezvcard.parse(fromFile).all()).
            version(VCardVersion.V3_0).go(toFile);





            share|improve this answer


























            • Now at github.com/mangstadt/ez-vcard.

              – not-a-user
              Mar 30 '17 at 12:55
















            1














            The Java library ez-vcard can do this:



            File fromFile = new File("vcard-2.1.vcf");
            File toFile = new File("vcard-3.0.vcf");

            Ezvcard.write(Ezvcard.parse(fromFile).all()).
            version(VCardVersion.V3_0).go(toFile);





            share|improve this answer


























            • Now at github.com/mangstadt/ez-vcard.

              – not-a-user
              Mar 30 '17 at 12:55














            1












            1








            1







            The Java library ez-vcard can do this:



            File fromFile = new File("vcard-2.1.vcf");
            File toFile = new File("vcard-3.0.vcf");

            Ezvcard.write(Ezvcard.parse(fromFile).all()).
            version(VCardVersion.V3_0).go(toFile);





            share|improve this answer















            The Java library ez-vcard can do this:



            File fromFile = new File("vcard-2.1.vcf");
            File toFile = new File("vcard-3.0.vcf");

            Ezvcard.write(Ezvcard.parse(fromFile).all()).
            version(VCardVersion.V3_0).go(toFile);






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 30 '17 at 16:03









            not-a-user

            2,2081230




            2,2081230










            answered Feb 3 '14 at 15:46









            MichaelMichael

            27.8k146595




            27.8k146595













            • Now at github.com/mangstadt/ez-vcard.

              – not-a-user
              Mar 30 '17 at 12:55



















            • Now at github.com/mangstadt/ez-vcard.

              – not-a-user
              Mar 30 '17 at 12:55

















            Now at github.com/mangstadt/ez-vcard.

            – not-a-user
            Mar 30 '17 at 12:55





            Now at github.com/mangstadt/ez-vcard.

            – not-a-user
            Mar 30 '17 at 12:55













            0














            I used the default Kubuntu KAddressBook program (18.04). Just import a VCF 2.1 file and export it again.



            You can choose different formats for export:



             -vCard 2.1
            -vCard 3.0
            -vCard 4.0
            -CSV
            -LDIF





            share|improve this answer




























              0














              I used the default Kubuntu KAddressBook program (18.04). Just import a VCF 2.1 file and export it again.



              You can choose different formats for export:



               -vCard 2.1
              -vCard 3.0
              -vCard 4.0
              -CSV
              -LDIF





              share|improve this answer


























                0












                0








                0







                I used the default Kubuntu KAddressBook program (18.04). Just import a VCF 2.1 file and export it again.



                You can choose different formats for export:



                 -vCard 2.1
                -vCard 3.0
                -vCard 4.0
                -CSV
                -LDIF





                share|improve this answer













                I used the default Kubuntu KAddressBook program (18.04). Just import a VCF 2.1 file and export it again.



                You can choose different formats for export:



                 -vCard 2.1
                -vCard 3.0
                -vCard 4.0
                -CSV
                -LDIF






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 20 '18 at 11:57









                JanghouJanghou

                8311118




                8311118






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f21282150%2ftool-for-converting-csv-file-to-vcard-2-1-and-3-0%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?