
garry664
Novice
Jun 22, 2016, 5:56 PM
Post #28 of 38
(9737 views)
|
Re: [Laurent_R] Parsing data from TXT file into XMP format with ExifTool
[In reply to]
|
Can't Post
|
|
I finally got Perl installed and working with ExifTool, sorry for the delay, I had a lot of things on my plate! Using the code from Chris I found an error on line 10 every time I ran the script:
open my $filehandle_txt, '<', $filepath_txt or die "cannot open '$filepath_txt': $!"; Even with the script in the same folder as the txt files I get this. However, as the format of the image and accompanying text files means that the file image format is in the same name as the text file, I found the script got confused, so only when I removed that first instance did it even read the file: Image file: "123.gif" Sidecar text file: "123.gif.txt" *this is so that the files stay next to the image file they belong to* So it won't process the files in the folder, what exactly is going wrong please?
(This post was edited by garry664 on Jun 22, 2016, 6:09 PM)
|