Dear Rsync Developers: We use rsync to make backups. Files with special characters like german umlaute are displayed with '?' for the special characters. We would like to have an option for displaying the original characters because the list is processed by other programs. I.e.: --log-characterset=full Even better would be options for saving file names by category, i.e.: --log-modified=file all modified files (no dirs) --log-deleted-files=file --log-deleted-dirs=file This would greatly simplify backup programs build on rsync Best, Peter.
Please try out one of the nightly tar files from the rsync web site (or the upcoming 2.6.5 pre-release). It obscures fewer characters (since rsync now uses the user's locale information), and those that it tweaks are escaped using backslash escapes that allow the filename to be reconstructed by a script, e.g.: $filename =~ s/\\(\d\d\d|\\)/ $1 eq "\\" ? $1 : chr(oct($1)) /eg; See also the --log-format option for a better way to get the list of filenames that rsync has operated on (rather than depending on the --verbose output) and the -i option (an easy way to specify --log-format="%i %n%L") for more information, and the "%o" escape as an alternative to "%i" (if you don't want tweaked, but not-transferred files to be logged).