Date: Thu, 17 Feb 2005 11:55:47 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Jon Noack <noackjr@alumni.rice.edu> Cc: Robert Watson <rwatson@freebsd.org> Subject: Re: Change tar to GNU Message-ID: <20050217195547.GA33893@troutmask.apl.washington.edu> In-Reply-To: <4214F3C2.4020102@alumni.rice.edu> References: <Pine.NEB.3.96L.1050217192913.38170c-100000@fledge.watson.org> <4214F3C2.4020102@alumni.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 17, 2005 at 01:42:58PM -0600, Jon Noack wrote: > Robert Watson wrote: > >On Thu, 17 Feb 2005, Kaspars wrote: > >> I have backup script build with tar and -newer options. > >>on FreeBSD 4.x it worked and i see: > >>$tar --version > >>tar (GNU tar) 1.13.25 > >> > >>on FreeBSD 5.3 not working and I found: > >>$tar --version > >>bsdtar 1.01.011, libarchive 1.01.013 > >>Copyright (C) 2003-2004 Tim Kientzle > >> > >>So I understand that you change own tar to make different licence. > >> > >>I just thinking what is proper way to update tar to GNU tar to make > >>working again my script? > > > > > >You can install the GNU tar as a package; however, it would be quite > >helpful if you could describe the problem in a little more detail so that > >the bug, if any, can be fixed. > > 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 -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050217195547.GA33893>