Commit 5ccc8b14 authored by Peter Palfrader's avatar Peter Palfrader Committed by aagbsn
Browse files

Make the find call saner

Fix the find call to not require grep, and to not exec up to a 1000 rms
at once, or exec rms with no arguments.
parent fcda1fc0
......@@ -29,11 +29,7 @@ sleep 5
# FIXME: We resume in a ghetto way by saving the bws-*done* files.
# A more accurate resume could be implemented in
for i in data/scanner.*
find $i/scan-data/ -depth -type f -print | egrep -v -- "-done-|\/.svn" | xargs -P 1024 rm
#rm $i/scan-data/*
find data/scanner.* -name .svn -prune -o -type f -a ! -name '*-done-*' -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