Running the command
sudo rsync -a -e ssh /home/blah user@server:/home/blah
rsync seems to be renaming directories (not sure if it is renaming files). For example, "M.I.A." is being converted to "MPTBTC~C". This also happens when copying over samba.
The target file system is ext4.
Update: This appears to only happen with directories that end with a period. A google search indicates this should only be a problem under windows, but I am syncing from linux (ext3) -> linux (ext4).
Try using the
--iconv
parameter ofrsync
to rule out encoding issues. For example:This will force rsync to use UTF-8 for local filenames and ISO-8859-1 (Latin-1) for remote filenames, "translating" as needed.
You can also try using the
convmv
utility (apt-get install convmv
on Debian-based systems) to fix local encoding issues, although the filename you posted doesn't look like the kind of nameconvmv
generally fixes.Also, please post links to the findings you mention.