tar --unlink ?

Dan Nelson dnelson at allantgroup.com
Fri Oct 9 06:52:48 UTC 2009


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 at allantgroup.com


More information about the freebsd-questions mailing list