
startyear=${1}
endyear=${2}

currentyear=${startyear}

while [ ${currentyear} -le ${endyear} ]
do

    mv mksrf_landuse_SSP2RCP45_clm5_181217_${currentyear}.nc mksrf_landuse_SSP2RCP45_clm5_${currentyear}.c181217.nc

    currentyear=`expr ${currentyear} + 1`
    
done
