Problem with rsync

K

kippez

Guest
Hello!

I've got an laptop with windows installed. Booted Sys Rescue CD and mounted the windows partition.
I want to copy /mnt/windows/windows/csc with rsync and are running this command:
"rsync -a --progress /mnt/windows/windows/csc /mnt/usbminne/". (usbminne = usb drive)
My problem are that many files and directories contains swedish letters, and this directories and files will not be copied to my usb drive.

Anyone got an solution for this?
 


Hrm.. I googled a little bit and have maybe two options for you..

First, try adding --iconv to your rsync command which should be able to convert between character sets..

If that doesn't work, try mounting the windows partition with '-o utf16':
mount -t blah -o utf16 /dev/blah /dev/mountpoint
 
Thanks. I did solv this problem by mounting the usb drive with mount -o utf8 /dev/device /mnt/name.
 

Members online


Top