<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Times New Roman, Times, serif">Using Windows 7.</font></p>
<p><font face="Times New Roman, Times, serif">I could not get
wildcards to work in exiv2.<br>
The manual says "$ exiv2 *.jpg </font><font face="Times New
Roman, Times, serif">Prints a summary of the Exif information
for all JPEG files in the directory."<br>
But that gives me "*.jpg: Failed to open the file".</font></p>
<p><font face="Times New Roman, Times, serif">Also, while fiddling
with this, the length of exiv2.exe went to 0. Maybe the program
got tired of my fiddling, or my computer is about to explode.</font></p>
<p><font face="Times New Roman, Times, serif">Bob</font></p>
<p><font face="Times New Roman, Times, serif"><br>
</font></p>
<div class="moz-cite-prefix"><font face="Times New Roman, Times,
serif">On 4/13/2023 7:02 AM, frederic chaume wrote:<br>
</font></div>
<blockquote type="cite"
cite="mid:676c0dde-8ec7-5495-5640-3c4c17a1d520@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<font face="Times New Roman, Times, serif"> Hi All<br>
</font> <font face="Times New Roman, Times, serif"><br>
I found an option using exiv2 under windows<br>
</font> <font face="Times New Roman, Times, serif"><br>
>bin\exiv2.exe -pp -q P2280067_DxO-corrupted.jpg<br>
Exiv2 exception in print action for file
P2280067_DxO-corrupted.jpg:<br>
P2280067_DxO-corrupted.jpg: The file contains data of an unknown
image type<br>
</font> <font face="Times New Roman, Times, serif"><br>
>bin\exiv2.exe -pp -q P2280067_DxO.jpg<br>
Preview 1: image/jpeg, 317x237 pixels, 17356 bytes<br>
</font> <font face="Times New Roman, Times, serif"><br>
>bin\exiv2.exe -pp -q .\P2280067.ORF<br>
Preview 1: image/jpeg, 160x120 pixels, 9080 bytes<br>
Preview 2: image/jpeg, 3200x2400 pixels, 1060974 bytes<br>
</font> <font face="Times New Roman, Times, serif"><br>
I think that could be a good solution to find corrupted jpeg.
Based on this I have some thought<br>
- as exiv2 is native with Digikam, I guess such error could be
visible? <b>Is there some "debug level" or some logs somewhere
that could report such errors ?</b><br>
- I'm not expert on coding so don't know how to translate such
command to a recursive search on a set of folders?<br>
- seems to apply to raw also , but I don't have corrupted raw to
perform the test<br>
</font> <font face="Times New Roman, Times, serif"><br>
thanks to share your feedbacks and may be other option<br>
</font> <font face="Times New Roman, Times, serif"><br>
Frederic<br>
</font> <font face="Times New Roman, Times, serif"><br>
</font> <font face="Times New Roman, Times, serif"><br>
</font> </blockquote>
</body>
</html>