From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,740ba1e74978216e X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-08-16 21:48:05 PST Path: supernews.google.com!sn-xit-02!supernews.com!sn-inject-01!news.supernews.com!not-for-mail From: "Josef Faulkner" Newsgroups: comp.unix.tru64 Subject: Re: Deleting many files with rm Date: Thu, 17 Aug 2000 00:33:38 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <8mbaa1$b09$1@nnrp1.deja.com> X-Complaints-To: newsabuse@supernews.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.unix.tru64:110 ls -1 | awk '{ print "rm "$0 }' | sh You can even test your intentions by replacing "sh" with "more" -- Josef Faulkner panther@gate.net wrote in message news:8mbaa1$b09$1@nnrp1.deja.com... > Hi, > > I am trying to delete files (with rm * ) from a directory which > contains many files. I get the following error messages :- > > ksh: /sbin/rm: arglist too long > > Is there any other way of doing this other than writing a script to > delete the files a*, b*, c* etc. ? > > What is the maximum no. of files I can delete ? > > I also hit a similar limitation with tar ! > > Appreciate any input. > > Thanks > > > > Sent via Deja.com http://www.deja.com/ > Before you buy.