From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2385138E66 for ; Mon, 24 Feb 2014 16:17:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B071E0B05; Mon, 24 Feb 2014 16:17:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BF83E0B05 for ; Mon, 24 Feb 2014 16:17:48 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1F0433F9D5 for ; Mon, 24 Feb 2014 16:17:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 1115218875 for ; Mon, 24 Feb 2014 16:17:46 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1393258986.722dde01e47da29dcb7894de3355e1787dd72a4e.ulm@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: find-binary-files.sh X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 722dde01e47da29dcb7894de3355e1787dd72a4e X-VCS-Branch: master Date: Mon, 24 Feb 2014 16:17:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 16c0103d-5a76-4c81-a174-803e81ee84eb X-Archives-Hash: b77cc9944a6382e8296aa7731f8f8326 commit: 722dde01e47da29dcb7894de3355e1787dd72a4e Author: Ulrich Müller gentoo org> AuthorDate: Mon Feb 24 16:23:06 2014 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Feb 24 16:23:06 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=722dde01 find-binary-files.sh: Also report file size. --- find-binary-files.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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