#!/bin/csh -f

set date = `date +%Y%m%d`

foreach file ( `ls -1 *6.nc` )
set ROOT = $file:r
     mv $file ${ROOT}_$date.nc
echo mv $file ${ROOT}_$date.nc
end
 


