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


Groups > comp.lang.python > #53838

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

Date 2013-09-07 21:34 -0600
From Michael Torrie <torriem@gmail.com>
Subject Re: Help - Python syntax - repeats script through subordinate folders
References (1 earlier) <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>
Newsgroups comp.lang.python
Message-ID <mailman.151.1378611304.5461.python-list@python.org> (permalink)

Show all headers | View raw


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' \;

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