Re: Problem in running CMIS Workbench console to shell script
First, make sure you have Groovy installed. Can you do groovy CMISEXTRACTIONTEXT.groovy, for example?
If you want to make the file executable you can add "#!/usr/bin/groovy" to the first line of your script. Then make sure you've granted "execute" permissions to the file with chmod u+x CMISEXTRACTIONTEXT.groovy. Now you should be able to run ./CMISEXTRACTIONTEXT.groovy.
One thing to be aware of...in the Groovy Console in CMIS Workbench there are a few imports and utility scripts that get imported so you'll want to make sure those are accessible by your script if your script depends on them.