From owner-freebsd-questions Sat Oct 3 22:22:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA11982 for freebsd-questions-outgoing; Sat, 3 Oct 1998 22:22:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from voland.freenet.bishkek.su (voland.freenet.bishkek.su [193.125.230.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA11973 for ; Sat, 3 Oct 1998 22:22:27 -0700 (PDT) (envelope-from fygrave@freenet.bishkek.su) Received: from freenet.kg (mail@freenet.bishkek.su [193.125.230.1]) by voland.freenet.bishkek.su (8.9.1/8.9.1) with ESMTP id LAA15807; Sun, 4 Oct 1998 11:18:37 +0500 (KGT) Received: from localhost (fygrave@localhost) by freenet.kg (8.9.1/8.9.1) with SMTP id KAA10730; Sun, 4 Oct 1998 10:41:29 +0500 (KGT) Date: Sun, 4 Oct 1998 10:41:28 +0500 (KGT) From: CyberPsychotic To: "Armando Campble P." cc: freebsd-questions@FreeBSD.ORG Subject: Re: Change Unix boxes In-Reply-To: <3616245B.86780662@panama.c-com.net> Message-ID: X-copyright: The content of this message is intellectual property of its author. So are all mistakes. X-warning: Anyone sending unwanted advertising e-mail to this address will be charged 25USD for network traffic and computing time. By extracting my address from this message or its header you agree to these terms. X-lummer: Bill Gates MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How can a move a directory (/home) or a group of directory(mail space > directory), file structure from one freebsd box to a second box that are > on the same network keeping the same file structure and owership as well > as privilige and verify if the file structure is the same on both. > > Please send command-line that can accomplish this process more > efficiently. 1. you can tar/gzip all the things and then move archive file to other box and untar it there: to tar tar zcfp foo.tar.gz /home to untar on the other box: cd / tar zxfp foo.tar.gz 2. do it via NFS setup NFS service on the other box, add there /home your_other_box(rw) then mount it and use cp -a or whatever you'd want to copy files To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message