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: OT - removing 25000 files !!

Re: OT - removing 25000 files !!

From: Allan Nelson <anelson_at_houston.rr.com>
Date: Wed, 20 Sep 2000 21:36:09 -0500
Message-Id: <10625.117525@fatcity.com>


cd to the directory
find . -exec rm -f {} \;

you can also use xargs. You may also have to add a -name switch to your find,

Allan
----- Original Message -----
From: "Rahul" <rahul_at_ratelindo.co.id>
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com> Sent: Wednesday, September 20, 2000 7:05 AM Subject: OT - removing 25000 files !!

> 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).
Received on Wed Sep 20 2000 - 21:36:09 CDT

Original text of this message

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