|08-03-2008, 12:51 PM||#1|
Join Date: Aug 2008
rsync resends all the data - with windows share
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)
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):
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]
|09-30-2008, 04:45 PM||#3|
Join Date: Aug 2004
You might try "--modify-window=1" in your rsync command line. The rsync manpage says this about it:
|cifs, mount, rsync, samba, windows file sharing|
|Display Modes||Rate This Thread|