Hello all

I'm having a problem that is driving me nuts. I am syncing directories that have characters which are not 7-bit Latin encoded, ie. äöü ' and the likes. I'm using a windows/cygwin client machine on one side and a FreeBSD server on the other side. I use an include/exclude list to specify which directories to sync.

If I have a

c:\backup\löl
c:\backup\bla

I put

+ /backup/löl
+ /backup/
- /backup/*
- /*

in my include/exclude file list

I then call rsync something like

rsync --include-from=files_c.inc /cygdrive/c/ [EMAIL PROTECTED]:data/current/c
(some params omitted for readability's sake)


Now c:\backup\löl will not be synced because the -/backup/* rule excludes it. It seems this is because rsync is seeing /backup/löl as /backup/lvl, which is the non-extended ascii version of this path (ö is 246 in ascii extended, 246-128=118, which is v).

I have tried putting + /backup/lvl in the include file, without success. Does anyone know how to avoid this problem (workaround or real solution), and who is actually the originator of the problem (cygwin, rsync, rsync on FreeBSD server, FreeBSD). Interestingly enough, any special character dirs under the include/exclude directories get synced just fine.

Any help is greatly appreciated.

Thank you
Gregory Bleiker
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to