Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Automated Backups on Tiger Using rsync
Subject:   Rsync part works fine, but what's up with Applescript?
Date:   2005-08-22 10:51:38
From:   bbushman
Response to: Rsync part works fine, but what's up with Applescript?

Scratch that - I put it in the middle of a function and now the applescript portion works fine... and rsync appears to be running, because it's making my error file in my user folder. But: nothing actually sync's. What could be wrong with my shell script?
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Rsync part works fine, but what's up with Applescript?
    2005-08-22 11:26:17  bbushman [View]

    Eh. Function didn't really fix anything. All my questions still remain. :(
    • Rsync part works fine, but what's up with Applescript?
      2005-08-23 10:09:13  Corvus [View]

      mySrc & myTgt will catenate the two paths into a single huge path, which almost certainly doesn't exist, and will have no target path. You need to separate the paths with a space:

      mySrc & " " & myTgt