Hi, I'm an rsync newbie, and I have been using it for some weeks without problems... except recently... Just a quick explanation: I have Suse9.0 and rsync 2.5.6 that came with it... I have a cron script that contains: rsync -av --delete /myfolder/ 192.168.20.200::myfolder in order to sync all files (and remove deleted ones) with the file server 192.168.20.200. On the latter there is an rsync server running. The problem is that since a couple of weeks ago, when running the script, I get a full list of the directories and not just the changed ones. (example: Directory1/ Directory2/ Directory1/ Directory3/ Directory1/ Directory4/ Directory1/ Directory5/Directory6/...... ....and so on (hundreds of lines) It is not actually updating any of the files since it scrolls past very fast (whole process takes a few sec for about 4GB) and I only get a few bytes sent and received. The strange thing is that if I run the script more than once in succession, it only happens the first time..... I wait a few minutes and retry.. and it happens again. I tried everything from syncing the time on the 2 machines to deleting some directories on the file server to "refresh" the process... but in vain... Any ideas??? Thanks Julian
On Thu, May 12, 2005 at 05:36:40PM +0200, Julian Pace Ross wrote:> The problem is that since a couple of weeks ago, when running the > script, I get a full list of the directories and not just the changed > ones.Rsync outputs the name of a directory when its modified time is being updated, so something on one side of the connection or the other apparently tweaked the directory's mtime. If you upgrade to 2.6.4 (or, better yet, 2.6.5pre1), you can specify -O to omit tweaking any dir times. ..wayne..