#!/bin/sh

for year in $(seq 2001 2009) ; do
   echo $year
  rename CODI_CP_ HIST2D_CODI_CP_ $year/*
  rename CODW_CP_ HIST2D_CODW_CP_ $year/*
done

