In /usr/bin/batch_image_convert line 14: name=`basename $0` ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: name=$(basename "$0") In /usr/bin/batch_image_convert line 32: for i in $*; do ^-- SC2048: Use "$@" (with quotes) to prevent whitespace problems. In /usr/bin/batch_image_convert line 37: if [ -f $base.$type ]; then ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -f "$base"."$type" ]; then In /usr/bin/batch_image_convert line 40: $VIPSHOME/bin/vips im_copy $i $base.$type ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$VIPSHOME"/bin/vips im_copy "$i" "$base"."$type" For more information: https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...