On Sun, Apr 28, 2013 at 10:35 PM, Dave Angel <da...@davea.name> wrote:
> Then I think you should change:
>      '-exec', 'addsync {} \;']
>
> to
>      '-exec', 'addsync", "{}" ";"]

This has a mismatched quote and a missing comma. It should be like this:

    '-exec', 'addsync', '{}', ';']

"find" expects the command to be split as the shell would. Note, the \
is only used to escape the semicolon in the shell. It shouldn't be
used in the argument list.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to