Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 10:27:09 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: Change tar to GNU
Message-ID:  <20050218092709.GM8471@pcwin002.win.tue.nl>
In-Reply-To: <86is4qfenb.fsf@xps.des.no>
References:  <Pine.NEB.3.96L.1050217192913.38170c-100000@fledge.watson.org> <4214F3C2.4020102@alumni.rice.edu> <20050217195547.GA33893@troutmask.apl.washington.edu> <86is4qfenb.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <sgk@troutmask.apl.washington.edu> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050218092709.GM8471>