Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Automated Backups on Tiger Using rsync
Subject:   rsync applescript quoted form
Date:   2005-09-23 09:42:22
From:   annibee
If I type the following at the command line
rsync -aE /Volumes/FMRILDAP\;SAMBA-2/archive-list ~/BACKUP
It works perfectly.
However if I include the same in an applescript I get the error Expected """""" but found unkown token and the ; is highlighted. I tried the suggeseted fix for the metacharacters but I get the same error.


Thanks

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • rsync applescript quoted form
    2005-09-26 18:05:23  Corvus [View]

    I don't have a SAMBA share to test this on, but try this both in Terminal and AppleScript:

    sync -aE '/Volumes/FMRILDAP;SAMBA-2/archive-list' ~/BACKUP

    Don't use quoted form, it will look for a file name with apostrophes.