Date: 29 Dec 2001 11:02:28 -0600 From: James McNaughton <jtm63@enteract.com> To: <brain_damaged@florida-wireless.com> Cc: "Richard Drinkwater" <r.drinkwater@ntlworld.com>, "freebsd-questions" <freebsd-questions@freebsd.org> Subject: Re: moving files for web Message-ID: <86r8pekli3.fsf@jamestown.21stcentury.net> In-Reply-To: <200112062302.AA3269787774@florida-wireless.com> References: <200112062302.AA3269787774@florida-wireless.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"brain_damaged" <brain_damaged@florida-wireless.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r8pekli3.fsf>