harb/onchain/analysis/clean-csvs.sh
2025-08-23 22:32:41 +02:00

16 lines
No EOL
413 B
Bash
Executable file

#!/bin/bash
# Clean up fuzzing CSV files from the analysis directory
echo "Cleaning up fuzzing CSV files..."
# Count files before deletion
COUNT=$(ls -1 analysis/fuzz-*.csv 2>/dev/null | wc -l)
if [ "$COUNT" -gt 0 ]; then
# Remove all fuzzing CSV files from analysis folder
rm -f analysis/fuzz-*.csv
echo "Removed $COUNT CSV files from analysis/ directory"
else
echo "No CSV files to clean"
fi