• We did not send an email asking for donations - please read this post.

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?
 


OP
R

Rob

Guest
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
 
OP
K

kippez

Guest
Thanks. I did solv this problem by mounting the usb drive with mount -o utf8 /dev/device /mnt/name.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top