Home » Infrastructure » Unix » unix shell scripts
unix shell scripts [message #97900] Thu, 08 May 2003 09:33 Go to next message
Rani
Messages: 8
Registered: March 2002
Junior Member
Hai,

I have a question here.
I am getting data from flat files.I want to delete last 10days files.How do I delete?

please help me.

Thanks in advance
Rani
Re: unix shell scripts [message #97901 is a reply to message #97900] Mon, 12 May 2003 07:52 Go to previous message
LiviLion
Messages: 1
Registered: May 2003
Junior Member
find /tmp/*Z -mtime +9 -exec rm {} ;

replace /tmp/*Z with the path and pattern you wish to delete.
Previous Topic: how to select table to become cross table
Next Topic: lsnrctl start error
Goto Forum:
  


Current Time: Fri Nov 22 19:39:37 CST 2024