From owner-freebsd-questions@FreeBSD.ORG Wed May 25 00:23:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8CC516A41C for ; Wed, 25 May 2005 00:23:21 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BFE743D1D for ; Wed, 25 May 2005 00:23:21 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j4P0NImX010118; Tue, 24 May 2005 20:23:20 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <004001c560b7$c51c3910$d580a23f@lisac> References: <004001c560b7$c51c3910$d580a23f@lisac> Date: Tue, 24 May 2005 20:23:17 -0400 To: "Lisa Casey" , From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.4 Cc: Subject: Re: moving /var/mail to another machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 00:23:22 -0000 At 7:24 PM -0400 5/24/05, Lisa Casey wrote: >Hi, > >I want to move all of the mailboxes (all of /var/mail/*) on one >machine to another one across a network. I need to preserve >permissions, uid's and gud's. (It would probably be good to >preserve modification times as well). I can move a file using >scp, but it doesn't preserve uid/gid Check the port named net/rsync . You can sync a directory from one machine to another over ssh by using it. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu