#!/bin/bash

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

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


