--- trunk/bin/BackupPC_incPartsUpdate 2005/10/11 16:00:02 172 +++ trunk/bin/BackupPC_incPartsUpdate 2005/10/12 11:15:18 182 @@ -82,7 +82,7 @@ while (my $row = $sth->fetchrow_hashref) { my $tar_file = BackupPC::SearchLib::getGzipName($row->{'host'}, $row->{'share'}, $row->{'num'}); - print curr_time, sprintf(" %s:%s %-3d ", $row->{'host'}, $row->{'share'}, $row->{'num'}), " -> $tar_file "; + print curr_time, " ", $row->{'host'}, ":", $row->{'share'}, " #", $row->{'num'}, " -> $tar_file"; my $t = time(); @@ -93,7 +93,7 @@ my $size = (stat( "$tar_dir/$tar_file" ))[7]; - print " dur: ",fmt_time(time() - $t)," $size bytes"; + printf(" %1.2f MB, dur: %s", ($size / 1024 / 1024), fmt_time(time() - $t)); if ($size > 45) { $sth_inc_size->execute($size, $row->{'backup_id'});