small problem that I'm having...

jw schultz jw at pegasys.ws
Wed Jan 29 01:38:37 EST 2003


On Tue, Jan 28, 2003 at 09:00:35AM -0500, Patrick Amirian wrote:
> FYI.
> Yeah actually I found my mistake.
> In the config file I had path=/blah/blah/
> The real thing is path=/blah/blah/*
>  
> It worked.

Poor solution.  Common error.  Much better to fix the
permissions on /blah/blah

Using * means that it will do shell expansion and not match
any dot files the top level directory.  That may be
acceptable in some cases but don't try it on home
directories or web server trees with .htaccess files.

Using * as shorthand for all files and dirs with rsync and
similar tools is a bad habit that will bite you in the
anterior when you are least expecting it.



-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt


More information about the rsync mailing list