#!/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