Date: Fri, 18 Feb 2005 09:36:40 +0100 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: Robert Watson <rwatson@freebsd.org> Subject: Re: Change tar to GNU Message-ID: <86is4qfenb.fsf@xps.des.no> In-Reply-To: <20050217195547.GA33893@troutmask.apl.washington.edu> (Steve Kargl's message of "Thu, 17 Feb 2005 11:55:47 -0800") References: <Pine.NEB.3.96L.1050217192913.38170c-100000@fledge.watson.org> <4214F3C2.4020102@alumni.rice.edu> <20050217195547.GA33893@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl <sgk@troutmask.apl.washington.edu> writes: > find $PATH -newermt 20050214 | xargs tar cf new.tar 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: find $PATH -newermt 2005-02-14 | tar -c -f new.tar -T/dev/stdin DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86is4qfenb.fsf>