`find . -type f ! -path "./DEBIAN/*" -print0 | xargs -0 -n1 md5sum | sed 's|./usr/|/usr/|g'` avoids passing a single massive argument string to md5sum.