Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53839
| References | (2 earlier) <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 | 2013-09-08 13:37 +1000 |
| Subject | Re: Help - Python syntax - repeats script through subordinate folders |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.152.1378611439.5461.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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