I want to be able to run an embedded script when a new file is detected in my Media folder.
I have a script called 'MKVDTS2AC3.sh' which is located in my 'home' directory (/Users/Chris/mkvdts2ac3/mkvdts2ac3.sh) and I have symlinked it to '/usr/local/bin'.
In Terminal and iTerm, this runs great, I just run:
- Code: Select all
mkvdts2ac3.sh -n -i -f <path to media file>
Naturally I would assume that the same code would work in the Embedded Script. But no, I just keep getting errors. I cannot post the errors at the moment as I am at work, but I can do later.
Has anybody had any problems before with this script, or a similar situation?
Thanks.