Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 20:23:17 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "Lisa Casey" <lisa@jellico.com>, <freebsd-questions@freebsd.org>
Subject:   Re: moving /var/mail to another machine
Message-ID:  <p06210202beb9718eb0de@[128.113.24.47]>
In-Reply-To: <004001c560b7$c51c3910$d580a23f@lisac>
References:  <004001c560b7$c51c3910$d580a23f@lisac>

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



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