In /usr/bin/exifautotran line 22: case `jpegexiforient -n "$i"` in ^----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: case $(jpegexiforient -n "$i") in In /usr/bin/exifautotran line 34: tempfile=`mktemp`; ^------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: tempfile=$(mktemp); In /usr/bin/exifautotran line 39: echo Executing: jpegtran -copy all $transform $i >&2 ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo Executing: jpegtran -copy all "$transform" "$i" >&2 In /usr/bin/exifautotran line 40: jpegtran -copy all $transform "$i" > $tempfile ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: jpegtran -copy all "$transform" "$i" > "$tempfile" In /usr/bin/exifautotran line 42: echo Error while transforming $i - skipped. >&2 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo Error while transforming "$i" - skipped. >&2 For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...