From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 20:35:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05FF816A4E3 for ; Fri, 4 Mar 2005 20:35:18 +0000 (GMT) Received: from mail-core.space2u.com (mail-core.space2u.com [62.20.1.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2992343D46 for ; Fri, 4 Mar 2005 20:35:17 +0000 (GMT) (envelope-from jd@dagerot.com) Received: from localhost (www-core.space2u.com [62.20.1.180]) by mail-core.space2u.com (8.13.3/8.13.2) with ESMTP id j24KZCMv023724 for ; Fri, 4 Mar 2005 21:35:12 +0100 Date: Fri, 4 Mar 2005 21:35:12 +0100 Message-Id: <200503042035.j24KZCMv023724@mail-core.space2u.com> MIME-Version: 1.0 From: "Joachim Dagerot" To: freebsd-questions@freebsd.org Cc: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: Moving a directory hierarchy - best practice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 20:35:18 -0000 I have spent 20 minutes or so googling around to find the best way to _move_ a complete directory hierarchy. But must admitt that I haven't foundmany good answers. The best suggestion was from http://badgertronics.com/knowledge/one.adp?parent=25: To move /tmp/blarg to /var: % cd /tmp % tar cvf - blarg | (cd /var; tar xf -) I bet there must be atleast one utils like a binary named "mvdir" or similar that simply taked two directory names as argument. But I can't find any. How do you guys move around your directory structures from prompt? //J