Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 16:40:23 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Sync files locally?
Message-ID:  <765A325E54DCF1DC39EBF9AE@utd59514.utdallas.edu>

next in thread | raw e-mail | index | archive | help
--==========CFFC3A58BA6A9A6E82C2==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

What's the best way to sync files locally?

I'm running rsync over ssh to backup files from a server.  Now I'm setting=20
up a new server, so I rsynced to it as well.  The files end up in a subdir=20
of my home directory, because my account is being used for the rsync.  I've =

been using cp -R to put them in the right place on the server and the chmod =

and chown to get the perms right, but I'm thinking there has to be a way to =

sync the files locally so that only the ones that have changed or are new=20
have to be copied to the right place.

I can use find to set the perms, but I'm not sure how to sync the files.=20
This is unix, so there's got to be a built-in utility that does this, but I =

can't seem to find it.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

--==========CFFC3A58BA6A9A6E82C2==========--




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