Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2009 08:13:26 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        jhell <jhell@DataIX.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tar --unlink ?
Message-ID:  <20091009061326.GA2493@current.Sisis.de>
In-Reply-To: <alpine.BSF.2.00.0910090206530.10588@qvzrafvba.5c.ybpny>
References:  <20091009055817.GA2420@current.Sisis.de> <alpine.BSF.2.00.0910090206530.10588@qvzrafvba.5c.ybpny>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribió:

> 
> On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote:
> >
> >Hello,
> >
> >To move a file tree from one place to another I see as an example:
> >
> ># tar -cf - local | tar --unlink -xpf - -C /mnt
> >
> >What does '--unlink' do exactly? I can't see it in the man page of
> >tar(1). Thanks in advance
> >
> >	matthias
> >
> 
> man 2 unlink

I know the unlink(2) sys call, but what does this --unlink flag in
tar(1) on restore (-x)?

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091009061326.GA2493>