Jean-Max Reymond
2005-Apr-14 12:07 UTC
files and directories with accented characters are destroyed
On Mac OS X (mini Mac), using rsync with --delete option to backup a linux Box, all the file and directories with accented characters are destroyed: deleting Documents/Ve??lo/ deleting Documents/Ckr/marche??s_publics/ deleting Documents/Ckr/Pre??sentations/Linux_logiciels_libres(SICTIAM).sxi deleting Documents/Ckr/Pre??sentations/Linux_logiciels_libres(SICTIAM).ppt deleting Documents/Ckr/Pre??sentations/ deleting Documents/Ckr/Pre??sentation de Norsys 2003.pdf It seems that mini Mac have not the same encoding type. Also, I have a couple of complaints about mkstemp: rsync: mkstemp "/Users/rsnapshot/Save/Ckrjmax/Web/azurseisme/.Cons?gudes.jpg.F7yHbl" failed: Invalid argument (22) I have upgraded to the very last version of rsync but the issues remain. What can I do ? -- Jean-Max Reymond CKR Solutions Open Source Nice France http://www.ckr-solutions.com
Jean-Max Reymond
2005-Apr-14 21:06 UTC
files and directories with accented characters are destroyed
2005/4/14, Jean-Max Reymond <jmreymond@gmail.com>:> On Mac OS X (mini Mac), using rsync with --delete option to backup a > linux Box, all the file and directories with accented characters are > destroyed: > deleting Documents/Ve??lo/ > deleting Documents/Ckr/marche??s_publics/ > deleting Documents/Ckr/Pre??sentations/Linux_logiciels_libres(SICTIAM).sxi > deleting Documents/Ckr/Pre??sentations/Linux_logiciels_libres(SICTIAM).ppt > deleting Documents/Ckr/Pre??sentations/ > deleting Documents/Ckr/Pre??sentation de Norsys 2003.pdf > > It seems that mini Mac have not the same encoding type. > Also, I have a couple of complaints about mkstemp: > rsync: mkstemp "/Users/rsnapshot/Save/Ckrjmax/Web/azurseisme/.Cons?gudes.jpg.F7yHbl" > failed: Invalid argument (22) > > I have upgraded to the very last version of rsync but the issues remain. > What can I do ?hum, same issue with scp filename is not correctly transferred with scp between the miniMac and a linux box. -- Jean-Max Reymond CKR Solutions Open Source Nice France http://www.ckr-solutions.com
Toby D. Watson
2005-Apr-15 12:47 UTC
files and directories with accented characters are destroyed
Jean-Max Reymond wrote:> 2005/4/14, Jean-Max Reymond <jmreymond@gmail.com>: > >>On Mac OS X (mini Mac), using rsync with --delete option to backup a >>linux Box, all the file and directories with accented characters are >>destroyed: >>deleting Documents/Ve??lo/ >>deleting Documents/Ckr/marche??s_publics/ >>deleting Documents/Ckr/Pre??sentations/Linux_logiciels_libres(SICTIAM).sxi >>deleting Documents/Ckr/Pre??sentations/Linux_logiciels_libres(SICTIAM).ppt >>deleting Documents/Ckr/Pre??sentations/ >>deleting Documents/Ckr/Pre??sentation de Norsys 2003.pdf >> >>It seems that mini Mac have not the same encoding type. >>Also, I have a couple of complaints about mkstemp: >>rsync: mkstemp "/Users/rsnapshot/Save/Ckrjmax/Web/azurseisme/.Cons?gudes.jpg.F7yHbl" >>failed: Invalid argument (22) >> >>I have upgraded to the very last version of rsync but the issues remain. >>What can I do ? > > > hum, same issue with scp > filename is not correctly transferred with scp between the miniMac and > a linux box. > >Is rsync re-adding the files in the same run? I posted a couple of weeks back on this happening with some files with special characters. Toby.
Wayne Davison
2005-Apr-15 16:36 UTC
files and directories with accented characters are destroyed
On Thu, Apr 14, 2005 at 02:07:13PM +0200, Jean-Max Reymond wrote:> all the file and directories with accented characters are destroyed:Note that the question marks are just rsync trying to avoid corrupting the screen. (The version in CVS should be smarter about not obscuring legitimate characters because it calls setlocale().) Rsync doesn't doesn't do any translation of character in filenames, so if your file system tweaks the names that rsync gives it, it won't match for the next transfer.> rsync: mkstemp "/Users/rsnapshot/Save/Ckrjmax/Web/azurseisme/.Cons?gudes.jpg.F7yHbl" > failed: Invalid argument (22)You'll need to investigate why that name can't be created by the destination filesystem. If it contains a character that is not supported by the filesystem, there is nothing that rsync can do (without adding name-conversion rules). ..wayne..