rsync with --recursive --files-from=
marvin rishoff
merbywerby@gmail.com
Wed May 9 22:17:00 GMT 2007
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.korn@artimi.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@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/
>
>
--
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/
More information about the Cygwin
mailing list