#!/bin/bash

if [ "$1" == "-f" ] ; then
  ans="yes"
else
  echo -n 'Deleting files of types (png, bin, csp, txt, gz, vel, car) ... continue [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


