title: How to read/write metadata? C++
body: <p>im writing a backup tool with c++. everything works fine. the result text file looks like this:</p>
  
  <p>pathOfTheSourceFile : pathOfTheDestinationFile</p>
  
  <p>pathOfTheSourceFile : pathOfTheDestinationFile
  ...</p>
  
  <p>Now I need a Exiftool (or If you recommend some other tool) command that can do this -> 
  change the metadata of pathOfTheDestinationFile with the metadata of pathOfTheSourceFile for each line of the txt file. </p>
  
  <p>I searched for a solution in the documentation  and tried to do that in c++ code before but I can't find any meaningful solution. </p>
  
  <p>The cmd should work for unix filesystems (LINUX/MACOS)
  because  pathOfTheSourceFile : pathOfTheDestinationFile are the same filetypes I want to have all possible metadata copied  </p>