Change tar to GNU
Tim Kientzle
kientzle at freebsd.org
Fri Feb 18 18:00:58 GMT 2005
Steve Kargl wrote:
> On Thu, Feb 17, 2005 at 01:42:58PM -0600, Jon Noack wrote:
>
>>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
Somewhat better:
find $PATH -newermt 20050215 -print0 | tar -c -f new.tar -T - --null
Some people are more familiar with -I (which is a
synonym for -T). Hmmm... Looks like --null never
got onto the manpage. I'll fix that.
This should solve Kaspar's problem.
Tim
More information about the freebsd-current
mailing list