Index: trunk/Nebulous-Server/scripts/dirize.pl
===================================================================
--- trunk/Nebulous-Server/scripts/dirize.pl	(revision 23949)
+++ trunk/Nebulous-Server/scripts/dirize.pl	(revision 23951)
@@ -25,12 +25,14 @@
 my $query = $db->prepare_cached("SELECT * FROM storage_object AS so WHERE so.dir_id = 0 LIMIT 1000");
 
+my $i = 0;
 while ($query->execute and $query->rows) {
     print "foo\n";
     while (my $row = $query->fetchrow_hashref) {
+        $i++;
         my $key = parse_neb_key($row->{'ext_id'});
         my $parent_id = $neb->_resolve_dir_parent_id(key => $key, create => 1);
 
 #printf("dirizing %20s basename: %20s parent_id %10d\n", $key, basename($row->{'ext_id'}), $parent_id);
-        printf("dirizing %s\n", $key->path);
+        printf("$i dirizing %s\n", $key->path);
 
         my $q = $db->prepare_cached("UPDATE storage_object SET ext_id_basename = ?, dir_id = ? WHERE so_id = ?");
