From owner-freebsd-questions@FreeBSD.ORG Fri Aug 27 17:29:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F1E210656A9 for ; Fri, 27 Aug 2010 17:29:17 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 10BD48FC19 for ; Fri, 27 Aug 2010 17:29:16 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 29FDE20769E4 for ; Fri, 27 Aug 2010 10:29:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id veTpTNup8zGf for ; Fri, 27 Aug 2010 10:29:14 -0700 (PDT) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id E574020769E2 for ; Fri, 27 Aug 2010 10:29:14 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id ABBE068947902; Fri, 27 Aug 2010 10:29:14 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AXeur6qZj41y; Fri, 27 Aug 2010 10:29:14 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 8CF77689478F1; Fri, 27 Aug 2010 10:29:14 -0700 (PDT) Date: Fri, 27 Aug 2010 10:29:14 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20100827172914.GE22105@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100827170737.GA96063@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100827170737.GA96063@thought.org> User-Agent: Mutt/1.5.19 OpenPKG/% (2009-01-05) Subject: Re: how do i scp .dotfiles?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 17:29:17 -0000 On Fri, Aug 27, 2010, Gary Kline wrote: > >guys, > >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 be unique. Bill -- INTERNET: bill@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