From owner-freebsd-isp@FreeBSD.ORG Sat Feb 28 20:10:31 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39DDB16A4CF for ; Sat, 28 Feb 2004 20:10:31 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-66-81.maa.sify.net [210.214.66.81]) by mx1.FreeBSD.org (Postfix) with SMTP id D5FB843D2D for ; Sat, 28 Feb 2004 20:10:17 -0800 (PST) (envelope-from freebsd@dhumketu.cjb.net) Received: (qmail 2190 invoked by uid 1000); 29 Feb 2004 04:10:04 -0000 Date: Sun, 29 Feb 2004 09:40:04 +0530 From: Shantanoo To: "Scott St. John" Message-ID: <20040229041004.GA2158@dhumketu.homeunix.net> References: <20040228191105.M42305@scottah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040228191105.M42305@scottah.com> User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.9-STABLE i386 cc: freebsd-isp@freebsd.org Subject: Re: Final conversion questions X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 04:10:31 -0000 +++ Scott St. John [freebsd] [28-02-04 14:15 -0500]: | Thanks to help from this list I am proud to say that tonight I will be | moving our mail server from Linux/Sendmail to FreeBSD/Postfix! The user | passwd file has been converted and we are ready to rock, but I have a few | questions before I begin tonight. | | I plan to copy the users home directories over, does anyone have a script | that will go through the home directories and correctly set the ownership of | the directories once they are copied over? Example, user Fred has a home | dir on the old machine, I copy over the files to the BSD box, I need to | chown -R fred:users to his home directory. I could do it by hand, but I am | sure there has to be a script out there to do something similar? tar -cvf test.tar then tar -xvpf | | Second question, I want to make sure ALL files are copied over from the home | directories and I think I have the syntax wrong to get the files, I want | the .procmailrc files to transfer over. i think dotfiles are included while you tar. Shantanoo | | Thanks in advance! | | -Scott | | | ------------------------------