Commit 500b5525 authored by Tom Ritter's avatar Tom Ritter Committed by Mike Perry
Browse files

Fix .gitignores

Make them actually ignore the data files that are generated, and prevent the .gitignores from being deleted by run_scan.sh
parent 9a9ed692
local.cfg
bwscan.V3BandwidthsFile
data/bwscan*
data/aggregate-control.log
data/aggregate-debug.log
data/tor*/cached-certs
data/tor*/cached-consensus
data/tor*/cached-descriptors
data/tor*/cached-descriptors.new
data/tor*/control_auth_cookie
data/tor*/lock
data/tor*/state
data/tor*/tor.log
data/tor*/tor.pid
data/scanner.*/bw.log
data/scanner.*/bwauthority.pid
\ No newline at end of file
......@@ -33,7 +33,7 @@ sleep 5
# FIXME: We resume in a ghetto way by saving the bws-*done* files.
# A more accurate resume could be implemented in bwauthority.py
find data/scanner.* -name .svn -prune -o -type f -a ! -name '*-done-*' -a ! -name bwauthority.cfg -exec rm {} +
find data/scanner.* -name .svn -prune -o -type f -a ! -name '*-done-*' -a ! -name bwauthority.cfg -a ! -name .gitignore -exec rm {} +
rm -f ./data/tor/tor.log
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment