From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 06:13:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CE261065694 for ; Fri, 9 Oct 2009 06:13:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id DE8268FC26 for ; Fri, 9 Oct 2009 06:13:24 +0000 (UTC) Received: from current.Sisis.de (ppp-62-216-210-238.dynamic.mnet-online.de [62.216.210.238]) by dd12710.kasserver.com (Postfix) with ESMTP id 13B97186533A3; Fri, 9 Oct 2009 08:13:25 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n996DQre002585; Fri, 9 Oct 2009 08:13:26 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 9 Oct 2009 08:13:26 +0200 From: Matthias Apitz To: jhell Message-ID: <20091009061326.GA2493@current.Sisis.de> References: <20091009055817.GA2420@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: freebsd-questions@freebsd.org Subject: Re: tar --unlink ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 06:13:25 -0000 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 - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu