* On Tue, Jul 04, 2006 at 05:38:19PM +1000, Matthew Hannigan wrote: > On Tue, Jul 04, 2006 at 05:23:38PM +1000, Sonia Hamilton wrote: > > I'm rsyncing some files from a linux server down to a FAT partition on > > my laptop (FAT because I want to access the files from both Linux and > > Windoze). Unfortunately rsync thinks some of the files are different > > (when they're not) and therefore deletes the copied file and recopies it > > down. Any ideas on what the problem might be? > > > > Here's the command I'm using: > > > > rsync -av -e ssh --delete --delete-during --force --modify-window=5 > > linuxserver:stuff/ stuff/ > > -a means (at least) preserve -p (permissions) as well as -o (owner) -g (group) > and -l (links) not all of which make sense on VFAT. > > I'd just try -rtE (recursive, preserve times and executability) > > If that doesn't work, maybe the times are out of synch on the boxes; > try synching them or tell rsync to determine similarity on content > (-c -- checksum, not mod-time & size)
Thanks Matt, I tried various options: * -v -rt -e ssh --delete-during --size-only --compress * defaults,codepage=850,iocharset=iso8859-1,utf8,uid=1000,gid=1000 Some directories were still transferring (even though they hadn't changed). The problem seemed to be caused by long upper/lower case directory names; I couldn't be bothered working out what the problem was so I just wrote a script to rename all the directories :-) -- Sonia Hamilton. GPG key A8B77238. . "Complaining that Linux doesn't work well with Windows is like ... oh, say, evaluating an early automobile and complaining that there's no place to hitch up a horse." (Daniel Dvorkin) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html