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 From: "Jeff Wilson" Subject: Re: Deleting many files with rm Date: 2000/08/03 Message-ID: <01bffd54$98476840$d53ec69b@leicester>#1/1 X-Deja-AN: 654033649 References: <8mbaa1$b09$1@nnrp1.deja.com> X-Complaints-To: usenet@news.cc.ic.ac.uk X-Trace: newstest.cc.ic.ac.uk 965311920 21341 155.198.62.213 (3 Aug 2000 14:12:00 GMT) Organization: Imperial College NNTP-Posting-Date: 3 Aug 2000 14:12:00 GMT Newsgroups: comp.unix.tru64 If you're trying to remove all the files from a directory why not remove the directory itself with "rm -r dirname", then recreate it with "mkdir dirname" ? -- Jeff Wilson andrew.rycroft@intrinsitech.com wrote in article <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. |