Opened 15 months ago

Last modified 15 months ago

#66774 assigned defect

Rsync not identifying renewed status of files with accented characters

Reported by: Lev-GitHub Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: rsync

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Rsync doesn't seem to be able to correctly identify the renewed status of file and directory names with certain accented (and non-latin) characters.

I have some file and directory names with some accented characters (shown with character codes in the list of the verbose rsync log) that are always deleted and recopied even though they haven't changed since the last run of the rsync.

I'm running rsync on macOS with the command "/opt/local/bin/rsync --archive --no-owner --hard-links --size-only --delete --ignore-errors --verbose from-dir/ to-dir/". (Just to check, I also tried "/usr/bin/rsync" on macOS.)

Examples of some of the file and directory names are:

Jieldé/Jieldé 2020.pdf (shown as Jielde?\#201/Jielde?\#201 2020.pdf)

01 강남스타일 (Gangnam Style).mp4 (shown as 01 ?\#204\#200?\#205??\#206??\#204\#202?\#205??\#206??\#204\#211?\#205??\#204\#220?\#205??\#204\#213?\#205??\#206? (Gangnam Style).mp4)

İstanbul (shown as I?\#207stanbul)

Change History (4)

comment:1 Changed 15 months ago by jmroot (Joshua Root)

Owner: set to ryandesign
Status: newassigned

comment:2 Changed 15 months ago by jmroot (Joshua Root)

Changing your locale environment variables or using --no-iconv may help. See the documentation for the --iconv= option in the man page.

comment:3 Changed 15 months ago by Lev-GitHub

FYI: The "--no-iconv" option worked for the Korean song title but not for the other accented characters.

comment:4 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

MacPorts is just building the rsync software that has been provided by its developers. If it's not working properly, please report it to the developers of rsync so that they can fix it.

Note: See TracTickets for help on using tickets.