delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/24/17:44:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=EbbWrcWbJJ1ohsiHwaGnscIBUDfp9
yRUCvH8vS7Ux7z3ydMQgY0GTuWK9ZScZDys1AFiP1UEU/VgPa48rEd/R7ziiaZr4
o5UC8XPznmVgHaFr8zQmOg33OCOGMk48l9vrd/LhOPKeavAv9tIx/lvUnF6Y4uyq
/EheR2ZAW2tCvk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=+aSQGLkt2R4m1u63IolRPAjxlFs=; b=fhf
krKnxP/rfC1xzombhy2LiAq6aWX9ZBP2LFqrO4fNp6WmP7vYGCCfaEoWgpPanLvM
yWToXcrasYRmIUvlG9PNXmCu/4Ma18CqtYbJnbgL81gdJczRWsdwxLd01OlSgg4l
S0TG9pjzaCE/ZBMnYXhFgzuWflNNgGHeUYsgaNAU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-pd0-f173.google.com
X-Received: by 10.66.102.66 with SMTP id fm2mr30407708pab.94.1380059049205; Tue, 24 Sep 2013 14:44:09 -0700 (PDT)
MIME-Version: 1.0
From: Ulrich Pogson <grapplerulrich AT gmail DOT com>
Date: Tue, 24 Sep 2013 23:43:49 +0200
Message-ID: <CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA@mail.gmail.com>
Subject: Run bash script in cmd with cygwin
To: cygwin AT cygwin DOT com

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

- Raw text -


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