Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix questions - Please advice

Re: Unix questions - Please advice

From: Tim Gorman <Tim_at_SageLogix.com>
Date: Thu, 09 May 2002 20:08:20 -0800
Message-ID: <F001.0045DF3B.20020509200820@fatcity.com>


find <dir> -name "MATERIAL.*" -mtime +30 -exec rm -f {} \;

> Hello!
>
> In my unix system (hp ux 10.20) I have one particular
> file will be generated from some applications every
> day.
>
> File name "MATERIAL.20020508225043"
>
> I usually deleted one month old files with <rm
> *200203*> command ( I need to keep last month files 04
> and delete all older than that). Can any one please
> help me writing a script to delete the files every
> month first date. so that I can put the script in cron
> job on every month 1st to delete more than one month
> old jobs.
>
> Thanks,
> Steve
>
>
>
> =====
> Thanks in Advance.
>
> Best Regards,
> Steve
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Mother's Day is May 12th!
> http://shopping.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Steve Johnson
> INET: steve_basis_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tim Gorman
  INET: Tim_at_SageLogix.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu May 09 2002 - 23:08:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US