Bug 6582 - blocking characters in filenames
blocking characters in filenames
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.0.6
Other Mac OS X
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-28 15:30 UTC by lionel valero
Modified: 2009-07-28 15:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lionel valero 2009-07-28 15:30:41 UTC
client : mac os x 10.5.7, darwin kernel version  9.7.0
server : Linux Ubuntu 2.6.24-19-server #1 SMP x86_64 GNU/L

cmd : /usr/local/bin/rsync -avz -i --iconv=UTF8-MAC,ISO-8859-15 --delete -e ssh /Users/toto/Documents toto@X.X.X.X:/home/MACUSERS/toto/

In the past i faced problems since users have accentuated charcaters (or weird characters in file/directory names), rsync reports :
****[generator] cannot convert filename:these/cours...

the only thing i had to do is to rename the file with deleting weird characters.

On one of my clients rsync is stuck (CTRL+C to terminate the job, no network traffic) and reports that error :

sending incremental file list
.d..t...... these/Protocoles/melting pot/
cd+++++++++ these/Protocoles/melting pot/poly busc/
<f+++++++++ these/Protocoles/melting pot/poly busc/.DS_Store
cd+++++++++ these/Protocoles/melting pot/poly busc/BIO (Biochemistry)/
<f+++++++++ these/Protocoles/melting pot/poly busc/BIO (Biochemistry)/.DS_Store
<f+++++++++ these/Protocoles/melting pot/poly busc/BIO (Biochemistry)/BIO- 2D Electrophoresis_bio_rad.doc ***CTRL+C
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (588 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]

In that case moving the "these/Protocoles/melting pot/poly busc" directory solves the problem, but rsync does not give any error related to weird characters ([generator] cannot convert filename) on that directory, i tried adding "vv" for more verbose but with no success.