problem with rsyncing web site
Wayne Davison
wayned at samba.org
Sat Jan 21 01:43:57 GMT 2006
On Fri, Jan 20, 2006 at 07:36:22PM -0600, Walls, Bryan (MSFC-IS04) ef wrote:
> Is there a way to force rsync to take permissions from the enclosing
> folder? Or something?
One solution is to grab a nightly snapshot tar file of rsync because
I've added the --chmod=TWEAKS option that will allow you to specify
something like this:
rsync -av --chmod=Da+x,a+r src/ dest
That makes sure that all dirs get +x and everything gets +r.
..wayne..
More information about the rsync
mailing list