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

From: Bruce Harvey (BruceH@ROUTESCAPE.COM)
Date: Fri Feb 21 2003 - 09:29:52 EST


    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