Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g7TCwt110595
 for <oracle-l@naude.co.za>; Thu, 29 Aug 2002 08:58:55 -0400
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id FAA14273;
 Thu, 29 Aug 2002 05:52:43 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 004C259E; Thu, 29 Aug 2002 05:08:22 -0800
Message-ID: <F001.004C259E.20020829050822@fatcity.com>
Date: Thu, 29 Aug 2002 05:08:22 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Stephane Faroult <sfaroult@oriole.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Stephane Faroult <sfaroult@oriole.com>
Subject: Re: arg list too long in unix
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

kommareddy sreenivasa wrote:
> 
> Hi all,
> 
> OS: SOlaris 2.8
> DB: 8i
> 
> In the clean up process of the following files, I am
> trying to list out the files that start with cz.
> 
>  cz-session-returnui177_11Jan02_0959AM_33509.txt
>  cz-session-Applet178_11Jan02_0959AM_34108.txt
>  cz-session-returnui175_11Jan02_0959AM_20504.txt
>  cz-session-DHTML176_11Jan02_0959AM_22335.txt
>  cz-session-returnui179_11Jan02_1000AM_34566.txt
>  cz-session-Applet180_11Jan02_1000AM_34818.txt
>  cz-session-BatchSingle181_11Jan02_1001AM_07757.txt
>  cz-session-BatchSingle182_11Jan02_1001AM_11687.txt
>  cz-session-BatchSingle183_11Jan02_1001AM_14010.txt
>  cz-session-BatchSingle184_11Jan02_1001AM_17708.txt
>  cz-session-BatchSingle185_11Jan02_1001AM_20029.txt
> 
> but when I issue ls -ltr cz* , I am getting arg list
> too long error. I 70,000-80,000 files that needs to be
> removed from the directory.
> 
> I cant list them using ls -ltr *session* as this
> string may change. I have to identify the files that
> srart with cz only.
> 
> can somebody through somelight on this.
> 
> thanx in advance,
> srinivas
> 

Srinivas,

    If you are using the Bourne shell try issuing the same command under
ksh.

HTH

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult@oriole.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@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).

