From 722dde01e47da29dcb7894de3355e1787dd72a4e Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 24 Feb 2014 17:23:06 +0100 Subject: find-binary-files.sh: Also report file size. --- find-binary-files.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'find-binary-files.sh') diff --git a/find-binary-files.sh b/find-binary-files.sh index 2bf73ab..791649e 100755 --- a/find-binary-files.sh +++ b/find-binary-files.sh @@ -32,7 +32,10 @@ find . \( -path ./distfiles -o -path ./local -o -path ./metadata \ application/*"; charset=utf-8") ;; "image/svg+xml; charset=us-ascii") ;; # SVG image "image/x-xpmi; charset=us-ascii") ;; # XPM image - *) echo "${path#./}: ${type}" ;; + *) + size=$(stat -c "%s" "${path}") + echo "${path#./}: ${type} (size=${size})" + ;; esac done \ | sort -- cgit v1.2.3-65-gdbad