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?


jd wrote:
> I am trying to back up a Windows box using rsync and I get this error
> message:
> 
> rsync: link_stat
> "/home/Administrator/password-file=/home/Administrator/rsync_passwd"
> failed: No such file or directory (2)
> 
> But the file is there:
> 
> $ ls -al /home/Administrator/rsync_passwd
> -rw-r--r--  1 Administrator Domain Users 10 Dec 12 16:02
> /home/Administrator/rsync_passwd
> 
> What am I missing?
> 
> Janos Dohanics

  The fact that it's not looking for a file called
    "/home/Administrator/rsync_passwd"
but one called
    "/home/Administrator/password-file=/home/Administrator/rsync_passwd"
which probably doesn't exist.....

  Perhaps you have a mistake in the command line you're using?  Perhaps you've
typed "~password-file=XXXX" when you meant to say "--password-file=XXXX"?
Yep, that's probably it.  You typed a tilde instead of a dash and it's being
expanded to your home dir 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]