From owner-freebsd-questions@FreeBSD.ORG Wed Sep 27 21:43:54 2006 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 D9F9E16A4F3 for ; Wed, 27 Sep 2006 21:43:54 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 976CA43D45 for ; Wed, 27 Sep 2006 21:43:54 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id BC48E388C32 for ; Wed, 27 Sep 2006 16:43:51 -0500 (CDT) Date: Wed, 27 Sep 2006 16:40:23 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <765A325E54DCF1DC39EBF9AE@utd59514.utdallas.edu> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========CFFC3A58BA6A9A6E82C2==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Sync files locally? 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, 27 Sep 2006 21:43:54 -0000 --==========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==========--