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: arg list too long in unix

RE: arg list too long in unix

From: Markham, Richard <RMarkham_at_hafeleamericas.com>
Date: Thu, 29 Aug 2002 06:43:25 -0800
Message-ID: <F001.004C26FE.20020829064325@fatcity.com>


go into the "top dir" and run  

 find . -name "cz-session-*" | xargs rm -f

 or

 find . -name "cz-session-*" -exec rm -f {} \;

the first runs faster but keep in mind that in other scenarios xargs splits stdin into file names on space and newline.

-----Original Message-----
Sent: Thursday, August 29, 2002 7:43 AM
To: Multiple recipients of list ORACLE-L

Use the "xargs" command.
Read about it in the man pages.
Or use "find", but that is more complex.

Cheers
Nuno Souto
nsouto_at_optushome.com.au

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nuno Souto
  INET: nsouto_at_optushome.com.au

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: Markham, Richard
  INET: RMarkham_at_hafeleamericas.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 Aug 29 2002 - 09:43:25 CDT

Original text of this message

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