Re: 0403-027 The parameter list is too long. error

From: Shekhar Dhotre (Shekhar.Dhotre@LENDLEASEREI.COM)
Date: Fri Feb 21 2003 - 11:00:32 EST


f5n73 /d01/app/oracle/admin/amerdev/bdump>find . -name "*.trc" -exec rm {}
\;

f5n73 /d01/app/oracle/admin/amerdev/bdump>
f5n73 /d01/app/oracle/admin/amerdev/bdump>ls
010403.alert_amerdev0.log 021403.alert_amerdev.log
012403_amerdev0.log.Z 122202.alert_amerdev0.log
012503_amerdev0.log.Z alert_amerdev.log
012603_amerdev0.log.Z alert_temp.log
012703_amerdev0.log.Z empty.log
f5n73 /d01/app/oracle/admin/amerdev/bdump>

Thanks all ,,, It worked .

Bruce Harvey <BruceH@ROUTESCAPE.COM>
Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
02/21/2003 09:29 AM
Please respond to IBM AIX Discussion List

        To: aix-l@Princeton.EDU
        cc:
        Subject: Re: 0403-027 The parameter list is too long. error

find . -name "*.trc" -exec rm {} \;

This will delete them one at a time. You might also want to add "-type f"
just to be safe.

----------------------------------
Bruce T. Harvey (Special Projects)
----------------------------------------
bth@comcast.net -- bruceh@routescape.com
410-236-5721 (cell) -- 410-403-2390 (off.)
-------------------------------------------
Insight Distribution Systems / CoAxis, Inc.
Hunt Valley, Maryland U.S.A. 21031-1422
-------------------------------------------

-----Original Message-----
From: Shekhar Dhotre [mailto:Shekhar.Dhotre@LENDLEASEREI.COM]
Sent: Friday, February 21, 2003 9:17 AM
To: aix-l@Princeton.EDU
Subject: [aix-l] 0403-027 The parameter list is too long. error

Hi All ,

I am trying to delete bunch of oracle trace files , But when I do delete
*.trc I get The parameter list is too long. error . Is there anyway I can
delete these files .

f5n73 /d01/app/oracle/admin/amerdev/bdump>rm *.trc
ksh: /usr/bin/rm: 0403-027 The parameter list is too long.
f5n73 /d01/app/oracle/admin/amerdev/bdump>

Thank You

SD



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:36 EDT