Need a shell Script

Need a shell Script

 

  

Dear Gurus,

I am tiring to delete old files leaving last three months in the dir so how can I delete.

Can anyone give me the shell script please.

I am doing this way is this correct
find ./ -name *-<Month name>-* -exec rm -rf {} \;

Advise me please ..

Thanks in Advance.

Best Regards,
Naresh


Oracle LazyDBA home page