Date: Fri, 18 Feb 2005 19:00:39 +0100 From: Maxime Henrion <mux@FreeBSD.org> To: Tim Kientzle <tim@kientzle.com> Cc: current@freebsd.org Subject: Re: Change tar to GNU Message-ID: <20050218180039.GF61763@elvis.mu.org> In-Reply-To: <42162B5C.2070300@kientzle.com> References: <4214ED77.6000206@os.lv> <4214F2CB.8030506@alumni.rice.edu> <20050218104527.GB47973@ip.net.ua> <42162A99.7040805@kientzle.com> <42162B5C.2070300@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050218180039.GF61763>