Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 16:40:23 -0500
From:      Paul Schmehl <>
Subject:   Sync files locally?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
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 (
Adjunct Information Security Officer
The University of Texas at Dallas


Want to link to this message? Use this URL: <>