Change tar to GNU
Steve Kargl
sgk at troutmask.apl.washington.edu
Thu Feb 17 19:55:49 GMT 2005
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
More information about the freebsd-current
mailing list