Skip to content

Instantly share code, notes, and snippets.

@CameronGilroy
Created September 28, 2010 03:43
Show Gist options
  • Save CameronGilroy/600365 to your computer and use it in GitHub Desktop.
Save CameronGilroy/600365 to your computer and use it in GitHub Desktop.
tell application "Finder"
try
mount volume "afp://10.0.0.1" as user name "UserName" with password "Password"
end try
end tell
do shell script "cd /Volumes/Data/Time_Capsule_Temp/ && rm -r *"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment