[RSync] Re: rsync for the brave
Ashley M. Kirchner
ashley at pcraft.com
Mon Nov 10 18:51:52 GMT 2008
Matt McCutchen wrote:
> Not really. The leading slash would require the pattern to match the
> entire path of the file starting from the source directory (here
> "/cygdrive/f", i.e., "F:\"). For example, your current exclude rule
> "- Temporary Items" would match both "F:\Temporary Items" and
> "F:\Foo\Bar\Temporary Items" (if it existed), while "- /Temporary Items"
> would match only "F:\Temporary Items".
Oh, I understand that part. It's the same reason we do proper
matching on .htaccess files on web site configuration. On a web site
with a large nested tree, it is definitely a performance hit if it needs
to check every single folder, starting from / , when the file only
exists in the user's web space and down.
> This is probably the same problem described in this thread:
>
> http://lists.samba.org/archive/rsync/2008-January/019723.html
>
Ok, the suggested fix is to grab the unicode aware cygwin file. I'm
assuming that's acceptable.
--
W | It's not a bug - it's an undocumented feature.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
More information about the rsync
mailing list