Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2009 01:52:45 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        jhell <jhell@DataIX.net>, freebsd-questions@freebsd.org
Subject:   Re: tar --unlink ?
Message-ID:  <20091009065245.GV29215@dan.emsphone.com>
In-Reply-To: <20091009061326.GA2493@current.Sisis.de>
References:  <20091009055817.GA2420@current.Sisis.de> <alpine.BSF.2.00.0910090206530.10588@qvzrafvba.5c.ybpny> <20091009061326.GA2493@current.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 09), Matthias Apitz said:
> 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:
> > >
> > >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
> > 
> > man 2 unlink
> 
> I know the unlink(2) sys call, but what does this --unlink flag in tar(1)
> on restore (-x)?

It's the same as the -U option, provided for gnutar compatibility.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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