public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ulrich Pogson <grapplerulrich@gmail.com>
To: cygwin@cygwin.com
Subject: Run bash script in cmd with cygwin
Date: Tue, 24 Sep 2013 21:49:00 -0000	[thread overview]
Message-ID: <CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA@mail.gmail.com> (raw)

Hello

I would like to run this script `for file in `find . -name "*.po"` ;
do msgfmt -o ${file/.po/.mo} $file ; done` in windows cmd. The script
need to run in a different folder. I have been able to run it though
cygwin but want to integrate it with another system where it will be
run through cmd.

C:\cygwin\bin
D:\path\to\dir

How can I do this?

Thanks.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2013-09-24 21:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 21:49 Ulrich Pogson [this message]
2013-09-25  4:32 ` Matt D.
2013-09-25  6:49 ` Ulrich Pogson
2013-09-25 14:25   ` Warren Young
2013-09-25 14:12 ` Warren Young
2013-09-25 18:31 ` Andrey Repin
2013-09-25 21:39   ` Ulrich Pogson
     [not found]     ` <1009095134.20130926013417@mtu-net.ru>
2013-09-25 22:17       ` Ulrich Pogson
2013-09-27  2:54     ` Larry Hall (Cygwin)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA@mail.gmail.com \
    --to=grapplerulrich@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).