im writing a backup tool with c++. everything works fine. the result text file looks like this:
pathOfTheSourceFile : pathOfTheDestinationFile
pathOfTheSourceFile : pathOfTheDestinationFile ...
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.
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.
The cmd should work for unix filesystems (LINUX/MACOS) because pathOfTheSourceFile : pathOfTheDestinationFile are the same filetypes I want to have all possible metadata copied