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

Home -> Community -> Mailing Lists -> Oracle-L -> OT - removing 25,000 files - END

OT - removing 25,000 files - END

From: Rahul <rahul_at_ratelindo.co.id>
Date: Thu, 21 Sep 2000 10:00:42 +0700
Message-Id: <10625.117534@fatcity.com>


the most clean and cool solution of all (asterix & obelix)

ls | xargs -n 20 rm

thanks all

> ----------
> From: Yosi Greenfield[SMTP:yosi_at_comhill.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Thursday, September 21, 2000 4:05 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: OT - removing 25000 files !!
>
> From an old Readers Digest submission that's stuck in my brain forever:
>
> Little Mary donned her skates
> Upon the ice to frisk.
> Oh what a silly girl was she
> Her little *
>
>
>
> alex.apostolopoulos_at_mindmatics.de wrote:
>
> > > Asterix is resolved by shell? How about Obelix?
> >
> > How about you ?
> >
> > > -----Original Message-----
> > > Sent: Wednesday, September 20, 2000 8:51 AM
> > > To: Multiple recipients of list ORACLE-L
> > >
> > >
> > > Hi
> > > no wildcard command will work cause the asterix is resolved by the
> executing
> > > shell (limit to a certain buffersize) so you have to use eg.:
> > >
> > > find <name of dir> -exec rm -f {} \;
> > >
> > > cheers alex
> > >
> > >
> > > > How about:
> > > >
> > > > for file in *
> > > > do
> > > > /usr/bin/rm -f $file
> > > > done
> > > >
> > > > >
> > > > > List, how can i remove 25,000 files from a unix directory ??
> > > > > if i try rm -f * it returns
> > > > > "ksh: /usr/bin/rm: 0403-027 The parameter list is too long"
> > > > >
> > > > > if i give wild card it would take too long....
> > > > > it's not a separate file system so i cannot unmount and remove the
> FS.
> > > > >
> > > > >
> > > > > TIA
> > > > >
> > > > > rahul
> > > > >
> > > > > --
> > > > > Author: Rahul
> > > > > INET: rahul_at_ratelindo.co.id
> > > > >
> > > > > 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).
> > > > >
> > > > --
> > > > Author: Toepke, Kevin M
> > > > INET: ktoepke_at_cms.cendant.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).
> > > --
> > > Author: alex
> > > INET: alex.apostolopoulos_at_mindmatics.de
> > >
> > > 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).
> > > --
> > > Author: Gogala, Mladen
> > > INET: MGogala_at_oxhp.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).
> > --
> > Author: alex
> > INET: alex.apostolopoulos_at_mindmatics.de
> >
> > 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).
>
> --
> Thanks,
>
> Yosi
>
>
> ---------------------------------------------------------
> Yosi Greenfield
> Database Architect
> Comhill Systems, Inc.
> yosi_at_comhill.com
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Yosi Greenfield
> INET: yosi_at_comhill.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
Received on Wed Sep 20 2000 - 22:00:42 CDT

Original text of this message

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