Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'I can't get rsync script to compile' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I can't get rsync script to compile
Authored by: ajvera on Sep 09, '09 12:19:42PM

I'm having some trouble here (I know it's an old thread, but I'm hoping someone out there can help me). I'm copying the script into AppleScript Editor, changing folder names appropriately, and the clicking Compile only to get the following - "Syntax Error Expected end of line, etc. but found "=". "

It highlights the first "=" in the script, after "export LOG"

Is there something I'm missing or doing wrong here?



[ Reply to This | # ]
I can't get rsync script to compile
Authored by: oliverraduner on Apr 04, '10 01:54:06PM
Is there something I'm missing or doing wrong here?
Yes, quite a bit:
This is no Apple Script, but it is a Shell-Command. This is like a different kind of Script-Application, used on Unix systems. You can get it run like this:
  1. Open Terminal (Applications > Utilities > Terminal.app)
  2. Type "pico rsync_idisk.sh" and press RETURN
  3. Copy-paste the Code to the Terminal-window
  4. Adjust the Code so it fits your needs (file-paths!)
  5. When finished, press CTRL+X - confirm the message with "Y" (= Yes, Save)
    (You can find now a file named "rsync_idisk.sh" in your User home)
  6. Proceed as described in the initial post by Supp0rtLinux...
  7. Hope this helps :) Cheers

    [ Reply to This | # ]