Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > archiving to another volume & subfolders

archiving to another volume & subfolders
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2007
Status: Offline
Reply With Quote
Nov 5, 2007, 01:58 AM
 
Hi,
I’m new to applescript and this forum. I’m trying to make a droplet script that will allow me to drop a folder named “TO BE ARCHIVED” and the various named subfolders be backed up to another volume or server into folders with corresponding names. I.E. a folder with the name “GAMES” in it will go into the archive volume’s subfolder named “GAMES PAGE.” I hope this description makes sense. Here is what I have so far, and it’s not working. The prompt I get is “cannot get GAMES PAGE on volume. I’m working on OSX on a “cougar.” Apple Script 2.1.1. I appreciate any help. Thanks in advance.
jgerb

property localVolume: {“volume”}
property theServer: {“afp://user:password@myServer/sVol”}

on open theseFiles
repeat with i in localVolume
tell application “Finder”
tell folder “TO BE ARCHIVED” of home
move (every folder whose name contains “GAMES”) to the folder named “GAMES PAGE” in localVolume with replacing
end tell
end tell
end repeat
repeat with i from 1 to count theServers
end repeat
end open
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:10 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2