I have a drive of files recovered from a mac (hfs+) that I'm trying to copy over to an ntfs volume so that they can be accessed from a Windows machine. There are, unfortunately, quite a few files with characters that won't copy.
This is a very similar question to this one, but I've tried both mounting the ntfs volume with the windows_names option, and using rsync with the iconv option (with utf-8 and utf-8-mac in different orders, or with '.'), both without success. To my understanding, I also can't use the detox option, as I can't write to the drive with the original files (journaled hfs+ can only be mounted read-only on linux).
I'm on Ubuntu 19.04, and I've tried copying from the GUI and rsync so far.
If it helps, with the ntfs drive mounted with the 'windows_names' option, I use
sudo rsync --append-verify -r <source> <dest>
rsync: open "/location/Reunion??.rtf" failed: Invalid argument (22)
from files with invalid characters.
Can I maybe pipe the files through detox somehow so that they're not writing to the original drive or the destination that won't accept the invalid characters? Do I have to change all the files manually? Is there a regex script option, maybe?