diff options
author | Ulrich Müller <ulm@gentoo.org> | 2014-02-24 17:23:06 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2014-02-24 17:23:06 +0100 |
commit | 722dde01e47da29dcb7894de3355e1787dd72a4e (patch) | |
tree | 9af06e476cbcbd9c82e949897f1a86d35638646e | |
parent | Fix a typo. (diff) | |
download | qa-scripts-722dde01e47da29dcb7894de3355e1787dd72a4e.tar.gz qa-scripts-722dde01e47da29dcb7894de3355e1787dd72a4e.tar.bz2 qa-scripts-722dde01e47da29dcb7894de3355e1787dd72a4e.zip |
find-binary-files.sh: Also report file size.
-rwxr-xr-x | find-binary-files.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |