tar --unlink ?

Matthias Apitz guru at unixarea.de
Fri Oct 9 06:13:25 UTC 2009


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 at unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu


More information about the freebsd-questions mailing list