From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 23:44:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C4F5F16A41F for ; Mon, 5 Dec 2005 23:44:29 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6024843D5A for ; Mon, 5 Dec 2005 23:44:25 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 8891331384; Mon, 5 Dec 2005 18:44:22 -0500 (EST) Date: Mon, 5 Dec 2005 18:44:22 -0500 (EST) From: user To: David Kelly In-Reply-To: <20051205231316.GA54068@Grumpy.DynDNS.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: cp/mv/etc : argument list too long ... I am sick of this X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 23:44:29 -0000 On Mon, 5 Dec 2005, David Kelly wrote: > On Mon, Dec 05, 2005 at 05:56:22PM -0500, user wrote: > [...] > > - since I live in 2005, what can I do to my FreeBSD system to upgrade > > it to handle the directories I have ? How do I fix this so I can do > > normal, simple command lines instead of butchered ridiculous hacks > > like above ? > > Upgrade the user. Start with the man page to xargs(1) as you are far > from the first to have this problem. > > Is well and good that there be some limit to how much data one can pack > on the command line and incoming arglist in an application's > environment else fumble fingers could cause major havoc. IIRC its > currently 10k bytes. Yes, in addition to for loops, I also know how to use xargs. I can use find. I can do all sorts of trickery. What I want to know is, how can I just use cp ? You are suggesting above that the limitation is part of the users environment, and that I should upgrade the user. I dn't know what you mean by that. I am root. How do I upgrade the user(s environment ?) thanks.