[or-cvs] r20590: {torflow} Now that we've gotten past the format change, make run_scan (torflow/branches/stable/NetworkScanners/BwAuthority)

mikeperry at seul.org mikeperry at seul.org
Wed Sep 16 10:42:45 UTC 2009


Author: mikeperry
Date: 2009-09-16 06:42:44 -0400 (Wed, 16 Sep 2009)
New Revision: 20590

Modified:
   torflow/branches/stable/NetworkScanners/BwAuthority/run_scan.sh
Log:

Now that we've gotten past the format change, make run_scan
only remove stale data files. Leave prior results intact for
resume.



Modified: torflow/branches/stable/NetworkScanners/BwAuthority/run_scan.sh
===================================================================
--- torflow/branches/stable/NetworkScanners/BwAuthority/run_scan.sh	2009-09-16 08:03:29 UTC (rev 20589)
+++ torflow/branches/stable/NetworkScanners/BwAuthority/run_scan.sh	2009-09-16 10:42:44 UTC (rev 20590)
@@ -26,8 +26,8 @@
 # A more accurate resume could be implemented in bwauthority.py
 for i in data/scanner.*
 do
-  #find $i/scan-data/ -depth -type f -print | egrep -v -- "-done-|\/.svn" | xargs -P 1024 rm
-  rm $i/scan-data/*
+  find $i/scan-data/ -depth -type f -print | egrep -v -- "-done-|\/.svn" | xargs -P 1024 rm
+  #rm $i/scan-data/*
 done
 
 $TOR_EXE -f ./data/scanner.1/torrc & 



More information about the tor-commits mailing list