This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Where is my --password-file?


web wrote:

> Dave,
> 
> actually, this is the command I have used:
> 
> rsync -avz "/cygdrive/e/Company"
> password-file="/home/Administrator/rsync_passwd" --delete
> --delete-excluded --exclude "Office2003/" --exclude "Office2003SP/"
> server1@192.168.30.17::winbackups/ > /home/Administrator/rsync_server1.log
> 
> Janos Dohanics


  Yeh, that was a bit of a hasty suggestion on second thoughts, after all
tilde expansion only happens if the "~" is followed by a "/".

  However you have left the "--" off the "password-file" option, so it thinks
the whole thing is a file name to rsync!  And because it doesn't start with a
"/", it's a relative path, and you're running in your home dir when you
execute the command, so it expands that by prepending the cwd path....


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]