Move files based on year of creation

Hi All,

I have a directory which has crores of files since from 2003 till now. I want to move only the 2003 files to another directory. Please help.
Thanks

You are looking for trouble:
Rules:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly.

Hi All,

Let me give the solution by myself.

Anyways! Thanks...

# !/usr/bin/ksh

cd CurrentDirectory
for i in `ls -ltr|awk '$8=="2001"{print $9}'`
do
mv $i NewDirectoryPath
done

exit 0