From owner-freebsd-questions Sat Dec 29 9: 2:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-1.enteract.com (smtp-1.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 271CD37B41A for ; Sat, 29 Dec 2001 09:02:50 -0800 (PST) Received: from jamestown.21stcentury.net (24-148-18-116.na.21stcentury.net [24.148.18.116]) by smtp-1.enteract.com (Postfix) with ESMTP id 56ADB6348; Sat, 29 Dec 2001 11:02:49 -0600 (CST) Received: (from jtm@localhost) by jamestown.21stcentury.net (8.11.6/8.11.3) id fBTH2Th05267; Sat, 29 Dec 2001 11:02:30 -0600 (CST) (envelope-from jtm63@enteract.com) X-Authentication-Warning: jamestown.21stcentury.net: jtm set sender to jtm63@enteract.com using -f To: Cc: "Richard Drinkwater" , "freebsd-questions" Subject: Re: moving files for web References: <200112062302.AA3269787774@florida-wireless.com> From: James McNaughton Date: 29 Dec 2001 11:02:28 -0600 In-Reply-To: <200112062302.AA3269787774@florida-wireless.com> Message-ID: <86r8pekli3.fsf@jamestown.21stcentury.net> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "brain_damaged" writes: > No what I want to do is move the entire directory(ies) to a different > partion. Not the virtuals or setup virtuals. > > i want to store the http data on the /home/whatever > not on /usr/local/www/htdocs. > While I am not a unix guru I assume there is more than just moving the > files over to it and changing In order to move the whole tree you can try cd /usr/local tar -cf - www | tar -p -C /home -xf - This will copy the entire www tree with the same permissions etc. to /home. I would make sure the new setup works before I removed /usr/local/www. I don't know anything about how your httpd is setup so I'll leave that advice for others. BTW, read man tar to double check my memory... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message