3

I want to copy a folder from my local Mac (Catalina with APFS) to my Synology (btrfs filesystem) on my local network.

And all files that have an umlaut in it (ö,ä,ü,....) gets in trouble somehow. First he is deleting the file in the destination and then he copies the same file over again. I know this is due to some rsync issue with Mac OS old version and the UTF encoding.

I updated rsync on my Mac already.

which rsync
/opt/local/bin/rsync

rsync --version
rsync  version 3.1.3  protocol version 31

and this is the command I am using to copy the folder..

rsync -zuvar --delete --progress --iconv=utf-8-mac,utf-8 --exclude ".DS_Store" source destination

But still he always deletes those files and folders with umlauts and then copy them all again.

What can I do to fix this?

Giacomo1968
  • 58,727
TomBlue
  • 43

1 Answers1

0

The simplest fix is to stop using iconv. It is okay that there are multiple valid encodings for umlauts. Apple probably tries to simplify some scenarios by forcing a single encoding approach. By using iconv you may be, as you suggest, confusing rsync.

Ram
  • 1,117