I'm using rsync to backup from my Mac to a DroboShare NAS. The Drobo drive is exposed to the network using SMB.
According to Data Robotics SMB specifies quite a strict set of illegal characters that shouldn't be used in file paths.
? [ ] / \ = + < > ; : " , | *_
From: http://support.datarobotics.com/app/answers/detail/a_id/78
They reference the following Apple document: http://support.apple.com/kb/TS2039?viewlocale=en_US
This actually lists the same set of characters without the underscore, so the underscore is almost certainly spurious in the Data Robotics list. As I'm doing a backup with rsync I have a lot of paths with those characters (notably the comma is common in some of my media files).
Additionally my home directory contains things like browser cache files that have ':' in them and my Windows Virtual Machine (VMWare Fusion) also often uses ':' in filenames.
Is there anyway to get rsync to escape or otherwise handle these files so that it doesn't create files with invalid filenames on the NAS?