Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 09:40:04 +0530
From:      Shantanoo <freebsd@dhumketu.cjb.net>
To:        "Scott St. John" <ssj@scottah.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Final conversion questions
Message-ID:  <20040229041004.GA2158@dhumketu.homeunix.net>
In-Reply-To: <20040228191105.M42305@scottah.com>
References:  <20040228191105.M42305@scottah.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+++ 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 <userdir_on_linux>

then 

tar -xvpf <userdir_on_bsd>

| 
| 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
| 
| 
| ------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229041004.GA2158>