#!/bin/bash

i=0
imax=100
while [ $i -le $imax ]  
do
i=$(( $i + 1 ))
rm fort*
rm lrun${i}
rm diagfi${i}.nc
rm restart${i}.nc
rm restartfi${i}.nc
done
