Hi, I m facing problem in "rsync" rtelated to the time-stamp of the files. Im using rsync for transfering the file from my m/c (OS :jaluna-linux) to a remote m/c(OS:jaluna-linux) and even if there was no change in the files on my m/c, when i rsync them to remote m/c the time-stamp of the file on remote m/c (which i transfered from my m/c) will change. my file name is bigfile and it is present on both m/c(my as well as remote and both are same). 669 Jul 30 15:11 bigfile(on my m/c) 669 Jul 30 15:08 bigfile (on remote m/c) (both the files have same name and same contants) then i use rsync on my m/c to transfer bigfile on remote. rsync bigfile IpAddress:/home/guest/sdutt after rsync the time-stamp of the files changed 669 Jul 30 15:11 bigfile(on my m/c) 669 Jul 30 15:19 bigfile(on remote m/c) Kindly tell me the rez behind the change of time-stamp files. Regards Shubhra __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
On Fri, Jul 30, 2004 at 02:49:16AM -0700, shubhra dutt wrote:> when i rsync them to remote m/c the time-stamp of > the file on remote m/c (which i transfered from my > m/c) will change.Use the -t option to preserve the timestamp from the original and allow rsync to avoid sending files that are already up-to-date. If you can't do that, your only other option is to use -c (which will be quite a bit slower). ..wayne..
Reasonably Related Threads
- 2 GB Limit when writing to smbfs filesystems
- ZFS+NFS+refquota: full filesystems still return EDQUOT for unlink()
- Syncing to multiple servers
- [Bug 1558] New: Sftp client does not correctly process server response messages after write error
- --delete --force Won't Remove Directories With Dotnames