This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I run a script?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]