#!/bin/bash

if [ "$1" == "-f" ] || [ -e ".clean_yes" ] ; then
  ans="yes"
else
  echo -n 'Deleting files of types *.(png|bin|csp|log|gz|data|vel|car)  [n|y] ? '
  read ans
fi

if [ "$ans" == "y" ] || [ "$ans" == "yes" ] ; then
  rm *.png
  rm *.bin
  rm *.csp
  rm *.log
  rm *.gz
  rm *.data
  rm *.vel
  rm *.car
fi


