echo '' echo '' echo ' ' echo ' ' echo ' ' echo '' for i in *.tar.bz2; do echo '' l=`echo $i | sed -e "s#.tar.bz2##"` echo ' ' 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 ' ' md5=`md5sum $i | cut -f1 -d' '` echo ' ' echo '' echo '' done echo '
LocationSizeMD5 Sum
'$l''$size''$md5'
'