how do i scp .dotfiles??
freebsd at celestial.com
Fri Aug 27 17:29:17 UTC 2010
On Fri, Aug 27, 2010, Gary Kline wrote:
>this is the start of my master switchover. how to i copy/scp,say,
>~/.purpur to home/kline/.purple? along with many hundreds of other
>dot files? scp doesn't do it.
scp -r to recursively copy directories? That should get
everything in each directory.
We tend to use rsync for this, making an initial copy to get the
majority of the files transferred before making the final cut
over, the ``rsync --delete ...'' to bring things up to date
before making the final switch. When switching to a new mail
server we have done this live with about 10,000 users, but when
we did this, we left the Maildir stores empty before the final
rsync and didn't use --delete on the Maildir directories. This
allowed new mail to be processed as it came in, and the older
mail wouldn't conflict as the Maildir message file names should
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
Rights is a fictional abstraction. No one has ``Rights'', neither
machines nor flesh-and-blood. Persons... have opportunities, not rights,
which they use or do not use.
-- Lazarus Long
More information about the freebsd-questions