Transfering metadata from multiple files to another ones

Started by BigBadThanos, June 15, 2022, 10:09:31 PM

Previous topic - Next topic

BigBadThanos

Hello! I'm new here. I have 20 files in "test" folder and 20 files named exactly like previous 20 in folder "tip6", both located on desktop. Files are all same and named same but ones in "test" have incorrect modified and created time and I want to copy that from files in" "tip6" folder so those from "test" will be like ones in "tip6". I tried this command
   
exiftool -TagsFromFile C:\Users\YesDesktop\tip6 -All:All -FileModifyDate -FileCreateDate C:\Users\Yes\Desktop\test -overwrite_original   

and the program gave me this

1 directories scanned
20 image files updated

but files were intact and their modified and created stayed the same. I would appreciate your help and thanks in advance.

StarGeek

You command is incomplete and should not have completed successfully.  You need to add the filename to the directory after the -TagsFromFile option.

You command should be
exiftool -TagsFromFile C:\Users\YesDesktop\tip\%f.%e -All:All -FileModifyDate -FileCreateDate C:\Users\Yes\Desktop\test -overwrite_original   

Also, are you checking the data using exiftool or using some other program?  Verify with exiftool using the command in FAQ #3 to see all tags and their locations.  Other programs may need data to be reloaded or may be reading from different locations than what you think they are.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

BigBadThanos

Thank you very much man! It's working like charm now. I was using BulkFileChanger to check the data and also thank you for a new suggestion.