An attempt to use rsync from Ubuntu to Windows…
This mount
command was used:sudo mkdir -p /mnt/mymount
sudo mount //myserver/c$ /mnt/mymount -t smbfs -o username=myuserThis move comes from “Samba: Better at Windows than Windows?” (preferred) and “How to mount remote windows partition (windows share) under Linux.” It failed due to details mentioned in “Trying to Mount Samba Share, Going Nuts.” This command was the fix:sudo apt-get install smbfsThe rsync
archive (-a
) option had to be removed for group, permissions and time operations are not permitted between Linux and Windows shares. A rewritten rsync
script obtained seemed successful except for “rsync error 23.” Repeatedly running the script ‘feels’ like rsync
runs with the --dry-run
option…
Comments
AG, 2008-07-13 00:28:50
You'll need to have all of the samba tools installed to mount a windows directory. As root do 'smbclient -L mywinbox -U mywinuser \path-to-files' (less the '') to view the desired partition.
Next create your mount point
Next mount your window director
note backslash escapes the
$char
from shell