PDA

View Full Version : Trouble Executing Scripts


snpower
12-28-2011, 08:49 AM
I have a very basic script which tells SD to ignore my ever changing downloads folder. It has run in the past but does so no longer. Originally, I got a "permission denied" error which I fixed using chmod a+rx. Now, it still fails to run and the log reveals this:

| 07:46:21 AM | Info | ......COMMAND => Invoking Before Copy shell script: /Users/snpower/Library/Application Support/SuperDuper!/Copy Scripts/Untitled 2.dset
| 07:46:21 AM | Error | /Users/snpower/Library/Application Support/SuperDuper!/Copy Scripts/Untitled 2.dset: line 1: syntax error near unexpected token `newline'
| 07:46:21 AM | Error | /Users/snpower/Library/Application Support/SuperDuper!/Copy Scripts/Untitled 2.dset: line 1: `<?xml version="1.0" encoding="UTF-8"?>'

I even tried creating a new script and I still get the same error.

dnanian
12-28-2011, 08:51 AM
A copy script is not a shell script. You can't run it as a shell script - it's selected in the main window, in the "using" pop-up.