From owner-freebsd-current Sat Apr 21 7:24:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 4DEC337B43E for ; Sat, 21 Apr 2001 07:24:21 -0700 (PDT) (envelope-from sheldonh@uunet.co.za) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 14qyIy-0002vX-00; Sat, 21 Apr 2001 16:24:08 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id QAA07655; Sat, 21 Apr 2001 16:23:01 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 7567; Sat Apr 21 16:22:48 2001 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.22 #1) id 14qyHf-000OOy-00; Sat, 21 Apr 2001 16:22:47 +0200 To: Brian Somers Cc: "Rodney W. Grimes" , bsd@bsdhome.com (Brian Dean), schweikh@schweikhardt.net (Jens Schweikhardt), freebsd-current@freebsd.org Subject: Re: cp -d dir patch for review (or 'xargs'?) In-reply-to: Your message of "Sat, 21 Apr 2001 14:06:04 +0100." <200104211306.f3LD64543456@hak.lan.Awfulhak.org> Date: Sat, 21 Apr 2001 16:22:44 +0200 Message-ID: <93802.987862964@axl.fw.uunet.co.za> From: Sheldon Hearn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 21 Apr 2001 14:06:04 +0100, Brian Somers wrote: > How do you do this in a script: > > cd /topdir; find . -type f | xargs -i {} cp {} /otherdir/. for i in `find /path/to/source -type f`; do cp $i /path/to/dest/ done What's all the fuss about? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message