Christian Weisgerber wrote: > No, it doesn't. Not in the general case. > > I didn't say it does all the time, that's why I mentionned between netware and openbsd. Between netware and openbsd, it does replace the characters with a "?". > I just tried rsyncing a few files with 8-bit characters in their > names between two OpenBSD boxes and there is no problem whatsoever. > -8 isn't even needed. Yes, perhaps in your case, but between netware and openbsd, there are problems. Please not that I didn't say it is an openbsd problem ;-), I was asking if there is a work around.
Here is an "ls -la" on openbsd host after the files have been downloaded (with "rsync -a") note the "?": drwxr-xr-x 4 dda wheel 1024 Jan 12 2005 rapport d'activit?s 2000 drwxr-xr-x 2 dda wheel 1536 Jan 12 2005 rapport d'activit?s 2001 drwxr-xr-x 5 dda wheel 512 May 24 11:10 rapport d'activit?s 2002 drwxr-xr-x 2 dda wheel 512 May 24 11:09 rapport d'activit?s 2003 drwxr-xr-x 2 dda wheel 512 May 24 11:08 rapport d'activit?s 2004 drwxr-xr-x 2 dda wheel 512 Jul 26 16:06 rapport d'activit?s 2005 -rwxr-xr-x 4 dda wheel 46080 Sep 22 15:21 FOIRE aper?u historique 2.doc -rwxr-xr-x 4 dda wheel 41984 Sep 22 13:55 FOIRE aper?u historique.doc And, Yes the "rsync -a -8" option does not change anything when using the archive mode, but it does remove the special charactes (in our case) when simply listing the files here is an example: (I'm doing the rsync on a openbsd box, the rsync lists the files on the netware server) "rsync our_netware_server::" drwxrwxrwx 0 2005/01/12 15:12:44 rapport d'activit\#202s 2000 drwxrwxrwx 0 2005/01/12 14:59:40 rapport d'activit\#202s 2001 drwxrwxrwx 0 2006/05/24 11:10:18 rapport d'activit\#202s 2002 drwxrwxrwx 0 2006/05/24 11:09:36 rapport d'activit\#202s 2003 drwxrwxrwx 0 2006/05/24 11:08:44 rapport d'activit\#202s 2004 drwxrwxrwx 0 2006/07/26 16:06:08 rapport d'activit\#202s 2005 -rwxrwxrwx 46080 2006/09/22 15:21:22 FOIRE aper\#207u historique 2.doc -rwxrwxrwx 41984 2006/09/22 13:55:20 FOIRE aper\#207u historique.doc and now: "rsync -8 our_netware_server::" drwxrwxrwx 0 2005/01/12 15:12:44 rapport d'activits 2000 drwxrwxrwx 0 2005/01/12 14:59:40 rapport d'activits 2001 drwxrwxrwx 0 2006/05/24 11:10:18 rapport d'activits 2002 drwxrwxrwx 0 2006/05/24 11:09:36 rapport d'activits 2003 drwxrwxrwx 0 2006/05/24 11:08:44 rapport d'activits 2004 drwxrwxrwx 0 2006/07/26 16:06:08 rapport d'activits 2005 -rwxrwxrwx 46080 2006/09/22 15:21:22 FOIRE aperu historique 2.doc -rwxrwxrwx 41984 2006/09/22 13:55:20 FOIRE aperu historique.doc -- Didier Wiroth CEDIES route d'Esch, 211 L-1471 Luxembourg Tel: (+352) 478-8669 Fax: (+352) 478-9-8669 Web: http://www.cedies.public.lu GPG Key ID: 9A8B2ACA GPG Fingerprint: 6FF8 4362 F880 F7A8 A708 9F0D 3DD2 0502 9A8B 2ACA