delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/14/07:36:09

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Where is my --password-file?
Date: Wed, 14 Dec 2005 12:35:59 -0000
MIME-Version: 1.0
In-Reply-To: <D8WQ1E3o.1134561687.9487560.janos@imap.3dresearch.com>
Message-ID: <SERRANOJVkl4AU1O6Ya000002a0@SERRANO.CAM.ARTIMI.COM>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019