#!/bin/sh
# bad-dxo-files -- find files that failed DxO conversion
#

[ -n "$echo" ] && set -x

USAGE='bad-dxo-files [directory]'

if test $# -eq 1
then
	cd "$1" || exit 2
else
	if test $# -gt 1
	then
		echo "$USAGE" >&2
		exit 1
	fi
fi

find -name '*_DxO_DeepPRIME.dng' -size +8700000c -size -8800000c -print
