Sript need, please respond

Hi
I am looking for the script which can move 1month old data from a TXT file.actully in this file data is appended on daily basis.pleasehalp me out.

Here is the file content :
$head abc.txt.
20070301130052,xxz.
20070307132111,cvasjchgjhcg
gacg
chjbgasjkchjk.
20070307133029,gcvashcvgjchklk.
20070308070017,hbcjkbgcjkhk.
20070308084700,hjcgjhcg.
20070308114137,kjcghjk.

$tail abc.txt
20080304113050,cgsjkchskjchskch.
20080304113053,cvbnsckhhkhcjs
cjksdhcklsjcl.
20080304120046,cvbsdcbksdhj
cvhbskcvnhsdkl
svjscvkmj.
20080304120048,vgsdjkv
vbsdkvhj
vnsdvlmj
vnm.

I want to remain only one month data in this file and cut other data and mv that into new location.

Thanks in advance

This is the Third thread you've started for this question.

Please stop multiple posting - it is against the rules of the forum; and if you want assistance, it would be best to provide what you have come up with yourself and ask for pointers rather than attempting to get others to do all the work.

anyways plz take care in posting duplicate threads.

Still then one suggestion. Why are you taking old data to a seperate file. Try to create new files based on date and append the data to that file.

apologies for this, will take care in future
Actually i there are other processes related to the thid file which will affect if i created more than one file.
Thanks in advance