Hello! I need to sync directories from one machine to another. Source server uses win1251 (russian) codepage to store filenames. Destination server uses UTF-8. How could I avoid garbage in filenames after rsyncing? Can rsync recode filenames from one codepage to another? If no, is there any way to do this task? Thank you.
On 9/21/06, Yakov Hrebtov <jake@generation.ru> wrote:> Can rsync recode filenames from one codepage to another?Yes, if you apply this patch: http://www.opencoder.net/iconv.diff Matt
Matt McCutchen wrote:>> Can rsync recode filenames from one codepage to another? > > Yes, if you apply this patch: > http://www.opencoder.net/iconv.diffThis patch does not completely applied to rsync-2.6.8 source. Some hunks are failed. As result, compilation terminates with errors like this: receiver.c: In function ?handle_delayed_updates?: receiver.c:300: error: too many arguments to function ?send_msg? Is this patch intended to other rsync version? Which one? Thank you!
On Fri, Sep 22, 2006 at 11:09:17AM +0600, Yakov Hrebtov wrote:> This patch does not completely applied to rsync-2.6.8 source. Some hunks > are failed.The patch is intended for the CVS version, which is also available via the "nightly" tar files. ..wayne..
Wayne Davison wrote:> On Fri, Sep 22, 2006 at 11:09:17AM +0600, Yakov Hrebtov wrote: >> This patch does not completely applied to rsync-2.6.8 source. Some hunks >> are failed. > > The patch is intended for the CVS version, which is also available via > the "nightly" tar files.Wayne, could you please point me to the nightly snapshots? Do you plan to include this patch to official releases? When?