card-helpers.inc: Show more proper sizes

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2022-01-03 19:55:55 +01:00
parent e195b4c240
commit 9d2b8fac1c

View File

@@ -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