Merge vcard.vcf files into a single file.vcf

Solved
1chamallow -  
 1chamallow -
Hello,
I want to merge vCard files into a single .vcf file.
My .vcf files are located in the test1 folder in the root c:/.
I navigate to the c:/test1 directory and use the following DOS command:
Copy *.vcf fusion.vcf (Fusion is the .vcf file that should contain all the .vcf files in test1.
I do find the fusion.vcf file, but it only contains one .vcf file, which is the last one in the list.
What mistake did I make?
Best regards.

5 answers

  1. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158
     
    Hi

    It’s actually the command I used to concatenate my vcf files from Windows Live Mail

    I just added a /v at the end but it doesn’t affect the concatenation

    Where do your vcf files come from? What does one of those files contain? (you can open it with Notepad)
    0
  2. 1chamallow
     
    my files come from Windows Live Mail
    0
  3. 1chamallow
     
    My files have been exported in vCard format and only contain the name and email address.
    0
    1. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158
       
      only contain the name and the email address


      In that case, you have an export problem

      Mine, coming from WLM as well, contains much more than that

      What operating system are you using?

      What version of WLM?

      How do you perform the export?

      Example of a vcf from WLM:

      BEGIN:VCARD
      VERSION:2.1
      N:BRIBINT;"Michel
      FN:"Michel BRIBINT"
      EMAIL;PREF;INTERNET:xxxxx.xxxx@gmail.com
      REV:202111248T161230Z
      END:VCARD


      In fact, when I ask you what's inside, I'm asking you to put in an edited one like I did, you put x's in place of personal info, in mine, the name and surname are fake as well as the various codes
      0
  4. jee pee Posted messages 9442 Registration date   Status Moderator Last intervention   9 981
     
    Hello,

    I also tested it, it works.

    We can also concatenate with
    copy fic1 + fic2 + fic3 ... fictot

    or
    type *.txt >fictot


    We should indeed check what the files contain.
    0
  5. jee pee Posted messages 9442 Registration date   Status Moderator Last intervention   9 981
     
    Are you comfortable with MS-DOS (command line)? Because it doesn’t work in PowerShell

    --
            A stranger is a friend you haven't met yet.
    0
    1. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158
       
      Well seen, it actually works in PowerShell but it only puts the first one in the resulting file.
      0
    2. 1chamallow
       
      Thank you all for your interest in solving my issue. JEE PEE pointed out the origin of my problem. Indeed, I was working in PowerShell. By using MS-DOS, the .vcf file contains all the vCard files.
      Best regards
      0
      1. kaumune Posted messages 22605 Registration date   Status Contributor Last intervention   5 158 > 1chamallow
         
        Hi

        Next time, make sure to formulate your statement properly and be correct in responding to the questions asked to help you instead of opening the topic on different forums

        It was wrong to say that the fusion.vcf contained the latest vcard on the list and that your vcards only contained the name and email address.
        0
      2. 1chamallow > kaumune Posted messages 22605 Registration date   Status Contributor Last intervention  
         
        Hello Kaumune,
        I don't know if it was wrong to say that the fusion.vcf contained only one file. However, when I opened this file created under PowerShell, only one file was there, and when I created this file under MS-DOS, I was finally able to solve my problem since all the vCard files were present.
        I thank jee pee again for their help and patience.
        Concerned about improving, being just a retired electronics technician and not having programming knowledge, I am looking forward to any information from you that could help improve my written expression.
        Best regards
        0