diff options
-rwxr-xr-x | anondcim | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -92,12 +92,10 @@ EOF "$dst" # remove metadata - if [ -x "$(which jhead)" ] - then + if which jhead &>/dev/null; then jhead -purejpg -q "$dst" || err "removing meta-data with jhead failed" fi - if [ -x "$(which exiftool)" ] - then + if which exiftool &>/dev/null; then exiftool -overwrite_original -all= "$dst" || err "removing meta-data with exiftool failed" fi |