![]() Where there would not be a difference except for: Quote from: Phil Harvey on May 02, 2022, 12:16:37 PMthe -if condition is now evaluated with "use warnings" on Windows as it has always been with the pure Perl version. Sorry to be so persistent, but I simply see different output in a command line I'm using for years now. on May 03, 2022, 12:59:23 AMIn the screenshot provided I tested the following command lines in which the old ExifTool version was named: "ExifTool_12-40.exe" and the new version: "ExifTool_12-41.exe". You have to download it as I don't know how to add it otherwise, I don't have an internet URL for it. Please, please look again at the screenshot I provided in my previous message. Well version 12.4 0 and older versions do recognize the in one of the example files as you (and I) explained before, where version 12.4 1 does not! Version 12.4 1 does not recognize the in one of the files using: -if "$CreatorWorkEmail !~ if I run the same command line with different ExifTool versions, they should have a similar output, correct? That is exactly the point! Can you explain to me why version 12.41 does not do what the previous versions correctly did? I hope this explains the bug as I call it, thanks again! ![]() The current version says both files failed the condition, which is wrong. The regular expression command with version 12.40:ĮxifTool_ 12-40.exe -if "$Model eq 'Canon EOS 80D' or $Model eq 'TG-4' or $Model eq 'iPhone 7'" -if "$CreatorWorkEmail !~ -CreatorWorkEmail -Model C:\Temp\202205_\IMG_*.*ĮxifTool_ 12-41.exe -if "$Model eq 'Canon EOS 80D' or $Model eq 'TG-4' or $Model eq 'iPhone 7'" -if "$CreatorWorkEmail !~ -CreatorWorkEmail -Model C:\Temp\202205_\IMG_*.*Īs you can see, the previous version of ExifTool handles the regular expression as it should, 1 file failed the condition.The first command line is version independent:ĮxifTool -CreatorWorkEmail -Model C:\Temp\202205_\IMG_*.*.In the screenshot provided I tested the following command lines in which the old ExifTool version was named: "ExifTool_12-40.exe" and the new version: "ExifTool_12-41.exe". Is this a bug or is something else changed?įor example I created two test-images, one with e-mail-address: and one without e-mail-address. When I use an older ExifTool version 12.40(?) (February 8, 2022) the -if //i functions as expected. Perl's Regexp /i (case-insensitive pattern matching) moderator is explained here: But that site doesn't exist anymore so, see its snapshot made in the WayBackMachine I tried to look the settings up at the old forum, in case I made a mistake. In the command line (I'm using Windows 10) the results are the same:ĮxifTool -if "$Model eq 'Canon EOS 80D' or $Model eq 'TG-4' or $Model eq 'iPhone 7'" -CreatorWorkEmail -Model ĮxifTool -if "$CreatorWorkEmail !~ -CreatorWorkEmail -Model # The case-insensitive one doesn't work anymore. $Model eq 'Canon EOS 80D' or $Model eq 'TG-4' or $Model eq 'iPhone 7' ![]() I Think I found a bug in the Perl -if //i functionality in the latest version of ExifTool 12.41 (April 7, 2022). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |