X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <ef38b31b0705031704x2a39e17cva9d5ae9aad5b7faa@mail.gmail.com> <1124138508.20070507010012@mail.ru> <46414199.8080708@streamguys.com>
Subject: RE: rsync with --recursive --files-from=
Date: Wed, 9 May 2007 09:25:53 +0100
Message-ID: <03e801c79213$a8b4e5d0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <46414199.8080708@streamguys.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 09 May 2007 04:36, Marvin Rishoff wrote:

> so I tried changing a few things around so that my script was more like
> this
> 
>
------------------------------------------------------------------------------
------------------------------------------------
> #!/bin/bash
> cd "/c/WINDOWS/system32/LogFiles/WMS/[Global]/"
> find ./WMS_*.log -mtime -7 -print >> list
> /usr/bin/rsync -avz --files-from=list -e ssh admin@myhost.net:/var
> /log/streaming/wms/logs
>
------------------------------------------------------------------------------
-------------------------------------------------
> the change directory worked
> and the list was printed
> however I when I run it I get the --help page printed with rsync error:
> syntax or usage error (code 1)

  Show us the contents of 'list'.  Perhaps some of the filenames need escaping
in some fashion.



    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/

