By default, Export Actions, such as shell scripts, are placed in $HOME//Library/Application Support/Adobe/Lightroom/Export Actions
In LR2.7 these worked fine. After upgrading to LR3.4 they no longer work. I get the following error in the System Console:
15/05/11 12:06:44 PM [0x0-0xda0da].com.adobe.Lightroom3 sh: /Users/andrewtj/Library/Application\ Support/Adobe/Lightroom/Export\ Actions/diveexiftool2.sh: No such file or directory
After doing some testing, I have found that the spaces in the path are causing it to fail. If I put the shell script in a folder that has no spaces and instead use "Open in Other Application" which lets me choose a non-default location for the script, it all works.