I'm backing up on a linux to rsync data from a remote apple mac to save locally.
linux/mac use "/" or ":" to define path hierarchy, so if mac filenames contain a "/", then rsync replaces the "/" with a ":" to stay safe.
however, sharing/networking this backup back to mac causes troubles this way.
Is there a way I can tell rsync to take another character, ie "_"?
I could rename my files using
find /path/to/basedir/* -iname "*:*" | tac | sed 's/\(.*\):\(.*\)$/mv "&" "\1_\2"/' | sh
but this breaks the rsync incremental magic.
Thanks!