delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/14/08:04:08

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 13:03:51 -0000
MIME-Version: 1.0
In-Reply-To: <6.2.1.2.0.20051214075243.043edfd8@imap.telissant.com>
Message-ID: <SERRANODd3OJXsNQptg000002a2@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

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 AT 192 DOT 168 DOT 30 DOT 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/

- Raw text -


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