From 496883ea767b438019f36468b87ea331bba3075e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 3 Jan 2022 19:55:55 +0100 Subject: [PATCH] card-helpers.inc: Show more proper sizes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- scripts/include/card-helpers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/include/card-helpers.inc b/scripts/include/card-helpers.inc index 75e11bd..8a1d680 100644 --- a/scripts/include/card-helpers.inc +++ b/scripts/include/card-helpers.inc @@ -113,7 +113,7 @@ SelectDeployedFile() { for FilePath in `find ${DeployPath} $FindString | sort` ; do iCount=`expr $iCount + 1` RootFileNameArr[${iCount}]="$FilePath" - FileSize=`du -Dh "$FilePath" | cut -f1` + FileSize=`du -Dbh "$FilePath" | cut -f1` menuitems+=( "$iCount" "`basename $FilePath` / size: $FileSize" ) done