2020-04-27 16:37:15 +08:00

5 lines
85 B
Bash
Executable File

#!/bin/bash
sz=$(cat $1)
sz=$(echo $sz | bc)
echo "size-sum:" $(numfmt --to=iec $sz)