I'm running rsync 2.6.4 on debian stable ppc, backing up a couple of home directories to a Netware filestore mounted through ncpfs. My command looks like this: rsync -r -t --delete -i --modify-window=10 --exclude=/**/.* --exclude=/xxx/ /home/xxxx /home/xxxx /mnt/xxxx The backup works fine, except that everytime it's run all files are listed as having their times modified like this: .f..t.... shared/calculator.xls I've checked the times on both source & destination & they look the same to me, yet it always updates the time. Any ideas why this is?
On Wed 15 Feb 2006, Rich Stanton wrote:> I'm running rsync 2.6.4 on debian stable ppc, backing up a couple of > home directories to a Netware filestore mounted through ncpfs. My > command looks like this: > > rsync -r -t --delete -i --modify-window=10 --exclude=/**/.* > --exclude=/xxx/ /home/xxxx /home/xxxx /mnt/xxxx > > The backup works fine, except that everytime it's run all files are > listed as having their times modified like this: > > .f..t.... shared/calculator.xls > > I've checked the times on both source & destination & they look the same > to me, yet it always updates the time. Any ideas why this is?I wouldn't be surprised if NetWare doesn't have one-second time resolution, just like windows. Use the 'stat' command to show exactly what the contents of the inodes are of two files that should be the same. Try --modify-window=1 if that's the problem. Paul Slootman
On Wed, Feb 15, 2006 at 02:51:24PM +0000, Rich Stanton wrote:> rsync -r -t --delete -i --modify-window=10 --exclude=/**/.*[...]> .f..t.... shared/calculator.xlsThis was fixed in 2.6.6. Before that, the 't' indicator was being output for any diference in time values rather than honoring your --modify-window=10 option (the time wasn't actually updated, rsync was just mistaken in thinking that it was). I would imagine that you could decrease the --modify-window option down to 1 as well. ..wayne..