delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/14/16:18:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <787dcac20801141317i57e52ea1k6075938617e2acc7@mail.gmail.com>
Date: Mon, 14 Jan 2008 15:17:51 -0600
From: BB <brent DOT bolin AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How can I run a script?
In-Reply-To: <ff8e9dfe0801140754r71e2260fy112ccae098d8958b@mail.gmail.com>
MIME-Version: 1.0
References: <787dcac20801131641m59f7161ehf8bb2e1fcfbddc30 AT mail DOT gmail DOT com> <478B653E DOT 4010903 AT byu DOT net> <032e01c856b3$3f406a60$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <ff8e9dfe0801140608h260c2bc9x9bfc83f127208eca AT mail DOT gmail DOT com> <787dcac20801140652q25212341k281d667f1c4a5fbf AT mail DOT gmail DOT com> <ff8e9dfe0801140717k5c0c7d9do40bb26a8a1455660 AT mail DOT gmail DOT com> <787dcac20801140741w42a72cbcy6a9d59e77be4724b AT mail DOT gmail DOT com> <ff8e9dfe0801140754r71e2260fy112ccae098d8958b AT mail DOT gmail DOT com>
X-IsSubscribed: yes
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

E:
chdir E:\cygwin\bin

bash --login -i -c 'rsync -avz --remove-source-files
root AT 10 DOT 0 DOT 0 DOT 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 AT gmail DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019