Re: Problem related to time-stamp
The environment variable RSYNC_PASSORD and commandline parameter --password-file= are for authenticating against an rsync server. If you're going through ssh, you don't have an rsync question. If you can't ssh remotehost date without a password, rsync isn't going to fake up a tty and play expect with ssh for you. Make a passphraseless ssh key, and keep it out of the hands of your enemies. You can even set the authorized_keys file to permit only rsync to be run over that session. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Sorry to disturb u again, but now i have one more very small problem. we need not to supply the password on command line everytime, when we will use rsync for transferring files from one m/c to another,i want to fix login name as well as passord for a particular m/c. I try out the option of seting the environment variable RSYNC_PASSORD and --password-file=FILE . but both of them is not solve my purpose. or may be i m not using them in proper way so kindly gave me ur suggestions regarding the login name and password. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Problem related to time-stamp
Hi Wayne, Sorry to disturb u again, but now i have one more very small problem. we need not to supply the password on command line everytime, when we will use rsync for transferring files from one m/c to another,i want to fix login name as well as passord for a particular m/c. I try out the option of seting the environment variable RSYNC_PASSORD and --password-file=FILE . but both of them is not solve my purpose. or may be i m not using them in proper way so kindly gave me ur suggestions regarding the login name and password. Thanks Shubhra --- Wayne Davison [EMAIL PROTECTED] wrote: 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.. __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Problem related to time-stamp
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 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Problem related to time-stamp
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.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html