|
|
#1 | |||||||||||||||||||
|
Prospect
Join Date: Aug 2008
Posts: 4
|
rsync resends all the data - with windows share
Hallo,
I just joined macosxhints after years of lurking and helpful hints. I have a problem with rsync on a windows XP share I have. Every time I perform an rsync on that drive all the data are sent again. I mount the share with the following command in finder (option k) Code:
cifs://<workgrooup>;<username>@<win_pc ip addr>/<share name> note: the pc is on a LAN and the <username> I use from my mac (I run Tiger, 10.4) is not the pc username (I'm used to create different users for different tasks, as is with *NIX systems), hence it has full rights on the share but no admin capabilities as my XP username. I don't think that affect the issue, but better to specify it. The share is on a NTFS partition. One day I was confident enough to use rsync at home (I was too scared to lose data) and I started using it, but I quickly found out that it didn't work as intended. The first transfer went well, but after that all the files are always sent to the win PC. I searched in Internet and I found here one possible reason:
I then tried to use it on my mac, manually mounting the volume with mount, mount_smbfs and also with osascript (using this old but valid hint and comments): Code:
mount_smbfs "cifs://<workgrooup>;<username>@<win_pc ip addr>/<share name>" /Volumes/<share name>/ osascript -e "try" -e "mount volume \"//<username>@<win_pc ip addr>/<share name>\" -e "end try" Is there anything I can do to force the mount to consider the filename's case? I would try to avoid to use fink or similar *NIX software port to mac, as I installed it once and I got 4 GB of files on my tiny laptop HDD that is almost full. If there's a way to download mount binaries for mac and few other libraries is fine, but otherwise my 1.5 GB of free space don't suggest to pursue that way. I checked on my windows XP computer and I can't find the place where to check for my font display options (I guess it's a 98 feature). Any help is much appreciated. [Before posting I found the following two discussions on this forum discussion1 and discussion2, bot no one was relevant to my question] |
|||||||||||||||||||
|
|
|
|
|
#2 |
|
Prospect
Join Date: Aug 2008
Posts: 4
|
Nobody can help?
|
|
|
|
|
|
#3 | |||||||||||||||||||
|
Major Leaguer
Join Date: Aug 2004
Location: Pittsburgh
Posts: 349
|
You might try "--modify-window=1" in your rsync command line. The rsync manpage says this about it:
|
|||||||||||||||||||
|
|
|
![]() |
| Tags |
| cifs, mount, rsync, samba, windows file sharing |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|