• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Rsync via Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rsync via Applescript


  • Subject: Rsync via Applescript
  • From: Rick Dwyer <email@hidden>
  • Date: Tue, 15 Jul 2008 09:12:23 -0400

Hello List.

I can use the rsync command string below in Terminal without a problem (albeit, it requests a password).
I have set up keys so when executed as root, I log in to the destination machine without a password.


Now I need to perform this via Applescript, but get "Permission Denied" when running as non root.
Placing sudo in front of the rsync gives me an applescript dialog message "Password".


What do I have to do in Applescript to get this shell script to execute without requesting a password.

Help is always appreciated.
Rick

do shell script "rsync -avz --delete /VPD/PictureTest.png -e ssh email@hidden :/VPD/"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden
  • Follow-Ups:
    • Re: Rsync via Applescript
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: Authentication scripting
  • Next by Date: Open Windows.
  • Previous by thread: Re: Authentication scripting
  • Next by thread: Re: Rsync via Applescript
  • Index(es):
    • Date
    • Thread