From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 1 12:00:33 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F23AF1065672 for ; Wed, 1 Jun 2011 12:00:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E193A8FC27 for ; Wed, 1 Jun 2011 12:00:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p51C0X81012191 for ; Wed, 1 Jun 2011 12:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p51C0X0o012189; Wed, 1 Jun 2011 12:00:33 GMT (envelope-from gnats) Date: Wed, 1 Jun 2011 12:00:33 GMT Message-Id: <201106011200.p51C0X0o012189@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Eitan Adler Cc: Subject: Re: misc/157491: update ls/rm/mv/cp tools to be able to handle large amount of files X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eitan Adler List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 12:00:34 -0000 The following reply was made to PR misc/157491; it has been noted by GNATS. From: Eitan Adler To: bug-followup@freebsd.org, vermaden@interia.pl Cc: Subject: Re: misc/157491: update ls/rm/mv/cp tools to be able to handle large amount of files Date: Wed, 1 Jun 2011 11:59:36 +0000 The limit is not in these tools. It is a constant number, defined in bytes, in the kernel. This is designed to keep the amount of memory required to store these command line options bounded. You could see the value with $getconf ARG_MAX 262144 I suggest you use find + xargs which automatically will figure out the correct number of arguments and run the command for you. -- Eitan Adler