Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53839

Re: Help - Python syntax - repeats script through subordinate folders

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; '(all': 0.07; 'bash': 0.09; 'subject:script': 0.09; 'subject:Help': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'michael.': 0.16; 'ubuntu,': 0.16; '{};': 0.16; 'wrote:': 0.18; 'first.': 0.19; 'versions': 0.24; '(or': 0.24; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'sep': 0.31; 'option': 0.32; 'linux': 0.33; "can't": 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'too': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'skip:. 10': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'charset:windows-1252': 0.65; 'different.': 0.84; 'instructed': 0.95; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=C4vyyZZu330FG7Zmg37DD51tGvW7c8BkgH/xVF/carw=; b=bmB7ZICj9j/r/f45Gg17rvUo2i7HySBWXBQVGy/gVvsHnCwYIc5SgEcoCibUtEWlZM 4bF3tzNpnu6TTIPOXQM2C8MmeFlXWfGXmKrJUmIl1eSCk9LvMbfTd5MuRiwEJpEJXGNL 5pOIIrDJBi/FwTBBBKn7ZVEnd4VHRMVu3Ntge5DOVTQDtF1UtDwrlrTk1Yw5OEAArX0A VVyb/HavAlfce81sOyTISPHHZs3+HxajG7Sajl3LHXW3/gEXuUg1EthuJzWVEyKmkqD2 UMvgo00tlKu8Y+f8qXFb1053JslA16OzhIK1eDsNZPS8nU28jIy8xuHoovb5FsZRlO9x oq/g==
MIME-Version 1.0
X-Received by 10.58.152.3 with SMTP id uu3mr10590664veb.16.1378611431324; Sat, 07 Sep 2013 20:37:11 -0700 (PDT)
In-Reply-To <522BF05D.6050909@gmail.com>
References <3f4f33ee-c8e7-4154-a817-c74b26b00301@googlegroups.com> <mailman.147.1378605394.5461.python-list@python.org> <38324fe2-cbad-4466-a19f-efc0d99f0883@googlegroups.com> <21ac62b9-221a-4180-b759-0a8c73c6ef9c@googlegroups.com> <mailman.148.1378609297.5461.python-list@python.org> <6291a5d0-ad20-4689-bc1b-570c9e635108@googlegroups.com> <522BF05D.6050909@gmail.com>
Date Sun, 8 Sep 2013 13:37:11 +1000
Subject Re: Help - Python syntax - repeats script through subordinate folders
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.152.1378611439.5461.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378611439 news.xs4all.nl 15906 [2001:888:2000:d::a6]:36991
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53839

Show key headers only | View raw


On Sun, Sep 8, 2013 at 1:34 PM, Michael Torrie <torriem@gmail.com> wrote:
> On 09/07/2013 09:09 PM, BlueFielder wrote:
>> I 'think' I did as you instructed …. but that too failed. :(
>>
>>
>> CiMac:ddd camforx$ find -type d -execdir bash -c 'cd {}; python ./fxp2aupreset.py ./ aumu Alb3 LinP vstdata' \;
>> find: illegal option -- t
>> usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
>>        find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
>
> Some versions of find require a path first.  Try this (all one line):
>
> find  . -type d -execdir bash -c 'cd {}; python ./fxp2aupreset.py ./
> aumu Alb3 LinP vstdata' \;

Thanks Michael. I'm using GNU find on Debian Linux (or on Ubuntu,
depending on which computer I test on), so I can't be sure what's
different.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help - Python syntax - repeats  script through subordinate folders BlueFielder <bluefielder@gmail.com> - 2013-09-07 18:41 -0700
  Re: Help - Python syntax - repeats script through subordinate folders Chris Angelico <rosuav@gmail.com> - 2013-09-08 11:56 +1000
    Re: Help - Python syntax - repeats script through subordinate folders BlueFielder <bluefielder@gmail.com> - 2013-09-07 19:52 -0700
      Re: Help - Python syntax - repeats script through subordinate folders BlueFielder <bluefielder@gmail.com> - 2013-09-07 19:59 -0700
        Re: Help - Python syntax - repeats script through subordinate folders Chris Angelico <rosuav@gmail.com> - 2013-09-08 13:01 +1000
          Re: Help - Python syntax - repeats script through subordinate folders BlueFielder <bluefielder@gmail.com> - 2013-09-07 20:09 -0700
            Re: Help - Python syntax - repeats script through subordinate folders Michael Torrie <torriem@gmail.com> - 2013-09-07 21:34 -0600
            Re: Help - Python syntax - repeats script through subordinate folders Chris Angelico <rosuav@gmail.com> - 2013-09-08 13:37 +1000
              Re: Help - Python syntax - repeats script through subordinate folders BlueFielder <bluefielder@gmail.com> - 2013-09-07 20:54 -0700

csiph-web