Quote:
Originally Posted by grail
I would think there are no files on your system with those names, I am not sure I understand the need??
|
The asterisks were intended to have the script (shell?) look for any possible variation on the comment strings returned by
Code:
comm1=$(exiftool -fast5 -s -S -Comment "$file0")
that contain the GD-JPEG substring. There are a few variations on the
"GD-JPEG" comment; the one I've seen most often is on the order of
Code:
GD-JPEG v1.0 (using IJG JPEG v62), quality = 90
I think it would limit the scope of the script to have it look for the one I just
bold-ed and ignore the other possibilities.
I just tried the if/then test in Konsole and noticed the conditional did not perk up with
Code:
"$file0 has a \"libgd\" Comment.
The longer part of the substring (a Comment from a recently-downloaded JPEG) my script tested for was in lowercase, while the script looks for all caps instead of both. Testing for each one looks like a way forward, unless there's a better way about it.
Thanks for your advice. I hope you'll help me further with this one.
Carver