From owner-freebsd-current@FreeBSD.ORG Fri Feb 18 09:27:14 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0BD316A4CE; Fri, 18 Feb 2005 09:27:14 +0000 (GMT) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21BE043D1D; Fri, 18 Feb 2005 09:27:14 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by pastinakel.tue.nl (Postfix, from userid 40) id 7352814BCBC; Fri, 18 Feb 2005 10:27:13 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by pastinakel.tue.nl (Postfix) with ESMTP id 5547314BC21; Fri, 18 Feb 2005 10:27:10 +0100 (CET) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.1/8.13.1/Submit) id j1I9RA3R024052; Fri, 18 Feb 2005 10:27:10 +0100 (CET) (envelope-from stijn) Date: Fri, 18 Feb 2005 10:27:09 +0100 From: Stijn Hoop To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20050218092709.GM8471@pcwin002.win.tue.nl> References: <4214F3C2.4020102@alumni.rice.edu> <20050217195547.GA33893@troutmask.apl.washington.edu> <86is4qfenb.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PuGuTyElPB9bOcsM" Content-Disposition: inline In-Reply-To: <86is4qfenb.fsf@xps.des.no> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on pastinakel.tue.nl X-Spam-DCC: : pastinakel.tue.nl 1074; Body=1 Fuz1=1 Fuz2=1 X-Spam-Status: No, hits=-4.9 required=6.3 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Level: cc: Kaspars cc: freebsd-current@freebsd.org cc: Robert Watson cc: Steve Kargl Subject: Re: Change tar to GNU X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 09:27:14 -0000 --PuGuTyElPB9bOcsM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2005 at 09:36:40AM +0100, Dag-Erling Sm=F8rgrav wrote: > Steve Kargl writes: > > find $PATH -newermt 20050214 | xargs tar cf new.tar >=20 > Bad idea, for a number of different reasons (including file names > containing spaces or other special characters, and command line length > limits). The following is slightly better, but will still fail if you > have files with newlines in them: >=20 > find $PATH -newermt 2005-02-14 | tar -c -f new.tar -T/dev/stdin Won't find -print0 | xargs -0 ... work in all cases? --Stijn --=20 I wish there was a knob on the TV to turn up the intelligence. There's a k= nob called `brightness', but it doesn't work." -- Gallagher --PuGuTyElPB9bOcsM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCFbTtY3r/tLQmfWcRAizyAJwPc7YEVqIHomqGZ/XyP2LDzZxQnwCfVu7a 8h1ewCEUmrzZlROe1D854i4= =cnK3 -----END PGP SIGNATURE----- --PuGuTyElPB9bOcsM--