echo '
Location | ' echo 'Size | ' echo 'MD5 Sum | ' echo '
---|---|---|
'$l' | ' size=`stat -c "%s" $i` size=`echo "$size / 1024" | bc` if test "$size" -lt 1024; then size="$size"kB else size=`echo "($size * 10) / 1024" | bc` if test "$size" -lt 100; then size=`echo "$size"MB | sed -e "s#\(.\)MB#.\1MB#"` else size=`echo "$size"MB | sed -e "s#\(.\)MB#MB#"` fi fi echo ''$size' | ' md5=`md5sum $i | cut -f1 -d' '` echo ''$md5' | ' echo '