In /usr/bin/batch_crop 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_crop line 33: for i in $*; do ^-- SC2048: Use "$@" (with quotes) to prevent whitespace problems. In /usr/bin/batch_crop line 34: dir=`dirname $i` ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: dir=$(dirname "$i") In /usr/bin/batch_crop line 35: file=`basename $i` ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: file=$(basename "$i") In /usr/bin/batch_crop line 39: if [ -f $new ]; then ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -f "$new" ]; then In /usr/bin/batch_crop line 42: $VIPSHOME/bin/vips im_extract_area $i $new $left $top $width $height ^-------^ 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. ^--^ 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_extract_area "$i" "$new" "$left" "$top" "$width" "$height" 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...