From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 06:07:30 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 3A15D1065676 for ; Fri, 9 Oct 2009 06:07:30 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id E2A3E8FC0A for ; Fri, 9 Oct 2009 06:07:29 +0000 (UTC) Received: by yxe1 with SMTP id 1so6869440yxe.3 for ; Thu, 08 Oct 2009 23:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=ZM/Wf8gTeq3yUv+s0biFf81JtwwPvNcNrrOCnlci3Jw=; b=iFsJm8x1/SJQ7/RhdOzjkRZFSHJgrqD8lJopWSErUD1RbZ8XPmdkwGiA2N1owxqGCl MgwVSa8+dPwcJyuVRLF2qByLZXQ/ASbCaHuZnuGdT/L/ZNy44d1VnUuss/Cb981YaxdA xZAn+cHEesInVsI7uhRuERy1s3TS42dF6CSAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=oejMaUSzMNjFoLzL7vzOp23Mh+RcfEzR0FV0DfTG4PvrwD6P0z2E8woV/kpznJrkj6 1JIN2Iw6ixDQnPVMoxRTihlMNc7/PiH4CYmLz9B2WGL5/AWtf98zto85VcT8Niqicb0n xt45OAIl8lT5lirkXfx5ggACRQXMXsm4Fe6tA= Received: by 10.150.251.27 with SMTP id y27mr3967858ybh.227.1255068449103; Thu, 08 Oct 2009 23:07:29 -0700 (PDT) Received: from dimension.5p.local (adsl-99-19-46-114.dsl.klmzmi.sbcglobal.net [99.19.46.114]) by mx.google.com with ESMTPS id 15sm334293gxk.4.2009.10.08.23.07.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Oct 2009 23:07:28 -0700 (PDT) Sender: "J. Hellenthal" Date: Fri, 9 Oct 2009 02:07:21 -0400 From: jhell To: Matthias Apitz In-Reply-To: <20091009055817.GA2420@current.Sisis.de> Message-ID: References: <20091009055817.GA2420@current.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: tar --unlink ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 06:07:30 -0000 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 -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E