From owner-freebsd-questions Tue Sep 10 8:41:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0015637B400 for ; Tue, 10 Sep 2002 08:41:13 -0700 (PDT) Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9AAF43E72 for ; Tue, 10 Sep 2002 08:41:12 -0700 (PDT) (envelope-from derek@durham.net) Received: from cerberus.motorcity.on.ca ([65.95.185.80]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020910154111.VZPW16602.tomts13-srv.bellnexxia.net@cerberus.motorcity.on.ca>; Tue, 10 Sep 2002 11:41:11 -0400 Received: (from root@localhost) by cerberus.motorcity.on.ca (8.11.6/8.11.6) id g8AEpRS28606; Tue, 10 Sep 2002 10:51:27 -0400 (EDT) (envelope-from derek@durham.net) Received: from DEVELOPMENT ([192.168.254.4]) by cerberus.motorcity.on.ca (8.11.6/8.11.6av) with SMTP id g8AEpMD28598; Tue, 10 Sep 2002 10:51:22 -0400 (EDT) (envelope-from derek@durham.net) Message-ID: <018401c258e0$c2165fc0$04fea8c0@motorcity.on.ca> From: "Derek" To: "Jean-Yves Lefort" , References: <20020910132907.1aabde58.jylefort@brutele.be> Subject: Re: Directory containing many files Date: Tue, 10 Sep 2002 11:43:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS perl-11 ares.durham.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Can some problems arise by having that many files in one > single directory? I have had issues with (bash) shell globbing. For example the command: rm * may return: argument list too long There may be another way around it, but I would then re-write my command as: ls | while read file; do rm $file; done and do specific selection between the ls and while with a grep. Just something I've experienced. Derek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message