Just put the password in the file, also you can't use an external shell (-e).
:D On Tue, 2001-10-23 at 13:04, Chris Hellyar wrote: > Anyone using rsync with the --password-file option? > > I've got a command line that looks like: > > rsync -v --password-file=/home/web/pwd -e ssh me.jpg web@sdcwww:/usr/wwwroot > > The pwd file has: > > web:password > > And it still asks me for a password.. it works when I put the password > in, but that's about it. It doesn't appear to be attempting to read the pwd > file, as I can change it's name to any old thing, and I don't get an error, > but it still asks for the password. > > Very annoying as I want to script this to do webcam updates.. First one to > tell me the solution gets the URL to the webcam pointing at my desk :-). > > > Cheers, Chris Hellyar. > > Selwyn District Council > Phones: X 831 (03)324 5831 (021) 350 603 > <This message has not been inspected by the Chief Censors office> > > > ###################################################################### > The contents of this e-mail message may be privileged and/or > confidential. If you are not the intended recipient please delete the > message and notify the sender. > > Any views or opinions presented are solely those of the author, and do > not necessarily represent the official position of the Selwyn District > Council > ######################################################################
