Re: Change tar to GNU

From: Maxime Henrion <mux_at_FreeBSD.org>
Date: Fri, 18 Feb 2005 19:00:39 +0100
Tim Kientzle wrote:
> Tim Kientzle wrote:
> >Kaspars wrote:
> >
> >>
> >>I have backup script build with tar and -newer options.
> >>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
> 
> --newer would be simple to add if I
> could crib some date/time parsing code.
> 
> Anyone know a good place to steal that from? ;-)

Everytime I had to do something similar, I found that the standard
strptime() and strftime() functions were doing the job perfectly.  Not
sure if that's advisable in your case though.

Hope that helps,
Maxime
Received on Fri Feb 18 2005 - 17:00:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC