From owner-freebsd-current@FreeBSD.ORG Thu Feb 17 19:55:49 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 73FE316A4CE; Thu, 17 Feb 2005 19:55:49 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4725B43D39; Thu, 17 Feb 2005 19:55:49 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) j1HJtlBk034025; Thu, 17 Feb 2005 11:55:47 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)j1HJtl5x034024; Thu, 17 Feb 2005 11:55:47 -0800 (PST) (envelope-from sgk) Date: Thu, 17 Feb 2005 11:55:47 -0800 From: Steve Kargl To: Jon Noack Message-ID: <20050217195547.GA33893@troutmask.apl.washington.edu> References: <4214F3C2.4020102@alumni.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4214F3C2.4020102@alumni.rice.edu> User-Agent: Mutt/1.4.2.1i cc: Kaspars cc: freebsd-current@freebsd.org cc: Robert Watson 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: Thu, 17 Feb 2005 19:55:49 -0000 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