delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/09/16:46:32

X-Spam-Check-By: sourceware.org
Message-ID: <ef38b31b0705091346i1e1950e9sfceee87a6185b4ee@mail.gmail.com>
Date: Wed, 9 May 2007 13:46:10 -0700
From: "marvin rishoff" <merbywerby AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync with --recursive --files-from=
In-Reply-To: <03e801c79213$a8b4e5d0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
References: <ef38b31b0705031704x2a39e17cva9d5ae9aad5b7faa AT mail DOT gmail DOT com> <1124138508 DOT 20070507010012 AT mail DOT ru> <46414199 DOT 8080708 AT streamguys DOT com> <03e801c79213$a8b4e5d0$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hi Dave thanks for replying

Here is the contents of the list that is being printed

./WMS_20070502.log
./WMS_20070503.log
./WMS_20070504.log
./WMS_20070505.log
./WMS_20070506.log
./WMS_20070507.log
./WMS_20070508.log
./WMS_20070509.log

Thanks Marvin

On 5/9/07, Dave Korn <dave DOT korn AT artimi DOT com> wrote:
> 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 AT myhost DOT 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/
>
>


-- 




Marvin J Rishoff
(707)616-2082

--
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