Hello All, I'm probably too stupid to live, but need help none the less. Scenario: A Redhat 9 workstation sending files to >>> freebsd4.8 server running rsync daemon. both are 2.5.6 Test: Send 500 Meg file "test.avi" with date Jan 01, 2001 across like this: (from redhat box) #rsync test.avi server::temp/test the file gets sent across, just fine, but now on the server, the file date is current time/date. This, I expect. (-a would preserve the date) I then run from the redhat box, the exact same command #rsync test.avi server::temp/test Now the unexpected (for me anyway) happens: entire file is sent across. Is this normal? Thanks, e
On Tue, May 27, 2003 at 08:06:15PM -0500, ecantu@satx.rr.com wrote:> Now the unexpected (for me anyway) happens: entire file is sent across.Check the stats (i.e. use -v) and you should see that the whole file was NOT sent -- just enough data to check the checksums and recreate the file from the data that is already on the destination system. The reason that this optimized transfer occurs is because the file's size and date are not identical, so rsync assumes that the file is different. If you don't want to preserve the file times (using the -t option), you might try using the -c option instead -- it's slow, though, but it does only update files that are really different. ..wayne..