Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 10:00:49 -0800
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: Change tar to GNU
Message-ID:  <42162D51.6020304@freebsd.org>
In-Reply-To: <20050217195547.GA33893@troutmask.apl.washington.edu>
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 wrote:
> On Thu, Feb 17, 2005 at 01:42:58PM -0600, Jon Noack wrote:
>
>>I think the issue is simply that the --newer option does not exist in 
>>bsdtar.  A very brief glance at the bsdtar man page didn't reveal any 
>>replacement
> 
> This is a Unix-like OS, so command pipes are possible.
> 
> find $PATH -newermt 20050214 | xargs tar cf new.tar

Somewhat better:

find $PATH -newermt 20050215 -print0 | tar -c -f new.tar -T - --null

Some people are more familiar with -I (which is a
synonym for -T).  Hmmm...  Looks like --null never
got onto the manpage.  I'll fix that.

This should solve Kaspar's problem.

Tim



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