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

2013-09-07 Thread BlueFielder
Thanks guys … that too failed. It's late here and I'm bushed. I'll get back to this tomorrow morning. Much appreciated. It's probably important that I point out that I put the file ' fxp2aupreset.py ' in the root directory (ddd) . Just to keep things all together. Again …. I have NO idea how to

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

2013-09-07 Thread Chris Angelico
On Sun, Sep 8, 2013 at 1:34 PM, Michael Torrie 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: i

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

2013-09-07 Thread Michael Torrie
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

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

2013-09-07 Thread BlueFielder
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] [

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

2013-09-07 Thread Chris Angelico
On Sun, Sep 8, 2013 at 12:59 PM, BlueFielder wrote: > > Failed: > > Here is the command with the results: > > > CiMac:ddd camforx$ $ find -type d -execdir bash -c 'cd {}; python > ./fxp2aupreset.py ./ aumu Alb3 LinP vstdata' \; > -bash: $: command not found Oh! Omit the dollar sign, tha

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

2013-09-07 Thread BlueFielder
Failed: Here is the command with the results: CiMac:ddd camforx$ $ find -type d -execdir bash -c 'cd {}; python ./fxp2aupreset.py ./ aumu Alb3 LinP vstdata' \; -bash: $: command not found -- With CiMac = HD ddd = folder on the desktop of user camforx -- https://mail.python.o

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

2013-09-07 Thread BlueFielder
On Saturday, September 7, 2013 9:56:25 PM UTC-4, Chris Angelico wrote: > Your initial command and path suggest you're on a Unix-like system > > (these days that most likely means either Linux or Mac OS), but the > > FOR command at the end is a Windows command, so that's not going to > > work. H

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

2013-09-07 Thread Chris Angelico
On Sun, Sep 8, 2013 at 11:41 AM, BlueFielder wrote: > 3. Then I run the script from terminal : python ./fxp2aupreset.py ./ aumu > Alb3 LinP vstdata > > It executes fine and does it's job. > > BUT… I have per 7600 files that are segregated into 86 folders. > I want to keep this folder structure. >

Help - Python syntax - repeats script through subordinate folders

2013-09-07 Thread BlueFielder
I'm NOT a programmer…. but I have a little Python script that converts files, that are in a folder, from one format to another. Script = fxp2aupreset.py I can successfully run it from the command line: 1st, I placed the folder that I named 'ddd' on the desktop so that it's easy to get to. 2