Hello
The reason is complicated, but what I need to do is copy the date taken metadata only from a lot of files, within folders to another set of files in folders.
Both sets of folders and files are identical, but I just need to copy the date taken from one set to the other, does seem odd, but there is a good reason….
Can xnview do this ?
Thanks
Need copy date taken between folders
Moderators: helmut, XnTriq, xnview
Re: Need copy date taken between folders
A possible method, with Windows OS and jpg photos
(I have not enough time this week to give more details)
You'll have to replace coloured items by your own parameters
1) Create file list with xnviewmp
- Select files
-Tools>Create>File list
use this : {Directory}{Filename With Ext},{EXIF:Date Taken [Y/m/d H:M:S]}
Select "Text" output format, use "Preview" , and save as MyList.txt
2) Edit file list
- Edit MyList.txt with a text editor :
- in first line, replace existing headers by :
SourceFile,Exif:DateTaken
- For each line, replace (source) paths by the paths where your destination files are stored. (With a "replace" function)
- Save as ... in the following folder :
C:\... (your xnviewmp installation path)\AddOn\MyList2.csv
3) ExifTool will read this file list, and update target photos
Open a cmd window, go to xnview installation directory, and "AddOn" subfolder
(cd C:\( program ... ?) \XnViewMP\AddOn )
launch ExifTool process :
exiftool -ext jpg -csv="MyList2.csv" "C:\my photos to update\"
(C:\my photos to update\ represents the folder containing your target photos)
Read the exiftool report (n files updated ...) and close it's window
that's all.
a lot of _original files will remain in the same directory. It's useful if a mistake would have damaged your photos.
Check with xnviewmp if it's all right before deleting them
Maybe some errors in all this, or some parameters need to be adjusted ... sorry
(I have not enough time this week to give more details)
You'll have to replace coloured items by your own parameters
1) Create file list with xnviewmp
- Select files
-Tools>Create>File list
use this : {Directory}{Filename With Ext},{EXIF:Date Taken [Y/m/d H:M:S]}
Select "Text" output format, use "Preview" , and save as MyList.txt
2) Edit file list
- Edit MyList.txt with a text editor :
- in first line, replace existing headers by :
SourceFile,Exif:DateTaken
- For each line, replace (source) paths by the paths where your destination files are stored. (With a "replace" function)
- Save as ... in the following folder :
C:\... (your xnviewmp installation path)\AddOn\MyList2.csv
3) ExifTool will read this file list, and update target photos
Open a cmd window, go to xnview installation directory, and "AddOn" subfolder
(cd C:\( program ... ?) \XnViewMP\AddOn )
launch ExifTool process :
exiftool -ext jpg -csv="MyList2.csv" "C:\my photos to update\"
(C:\my photos to update\ represents the folder containing your target photos)
Read the exiftool report (n files updated ...) and close it's window
that's all.
a lot of _original files will remain in the same directory. It's useful if a mistake would have damaged your photos.
Check with xnviewmp if it's all right before deleting them
Maybe some errors in all this, or some parameters need to be adjusted ... sorry
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm