rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Capitalized letters from windows to linux


From: chuck odonnell
Subject: Re: [rdiff-backup-users] Capitalized letters from windows to linux
Date: Tue, 4 Oct 2011 12:18:49 -0400

On Tue, Oct 04, 2011 at 06:02:08PM +0200, Valerio Pachera wrote:
> 
> Try simply to copy a file with capitalized letters in the file name
> form windows to a linux rdiff-backup server.
> 
> I created the file àèìòù.txt in a test folder (windows), then I
> copied it by:
> 
> rdiff-backup.exe --print-statistics --override-chars-to-quote ''
> --remote-schema "plink -i private.ppk %%s rdiff-backup --server"
> "F:/test" address@hidden::/mnt/dati/backup/f/test
> 
> I get no error from rdiff-backup but when I look at the backed up
> file I see a question mark for each capitalized letter:
> 
> # ls -l test/
> totale 4
> drwx------ 3 root root 4096  4 ott 17.52 rdiff-backup-data
> -rw-rw-rw- 1 root root    0  4 ott 17.46 ?????.txt
> 

The originating filename may be in UTF-16 or Windows 1252 or some
other, depending your your file system and OS settings. rdiff does not
convert the file names, it just stores them and gives them back the
way it got them.

If you access your rdiff repo from the Unix prompt then you should
expect to see this since your terminal does not know what charset the
filename is in, and even if it did know and it may not have the fonts
available to render it. When you restore the file back to it's origin
it will look correct.

Best,

Chuck




reply via email to

[Prev in Thread] Current Thread [Next in Thread]