How can I run a script?

BB brent.bolin@gmail.com
Mon Jan 14 23:04:00 GMT 2008


E:
chdir E:\cygwin\bin

bash --login -i -c 'rsync -avz --remove-source-files
root@10.0.0.2:/home/test/* /cygdrive/e/Earchives'

Works fine, last a long time.  Added one more tweak --remove-source-files

Now all I have to do is setup in windoze scheduler and move about 30GB of data.

Then get this setup to run once a month

Thanks for your help

btb

On 1/14/08, Mirco Piccin <pictux@gmail.com> wrote:
> Hi.
>
> > I also assume if running in a windoze envirment it needs to end with
> > *.bat extension since windoze doesn't have a clue what *.sh is?
>
> ...sure, as reported on my first post.
> Regards
> M
>
> --
> 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/
>
>

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