Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make archive if each folder on a share



Hi George,


The basic script is:

on backupFolderToDisk(startFolder, targetDisk)
tell application "Finder"
duplicate every file of startFolder to disk targetDisk with replacing
duplicate every folder of startFolder to disk targetDisk with replacing
end tell
end backupFolderToDisk


This script is from Adam Goldstein:  Applescript the Missing Manual

You could then schedule your script to run with iCal by saving your script as an application and setting the alarm to open the application, or use terminal to set a crontab.  If you want to know more about setting your backup to run with Terminal, reply and I'll explain further.

Peter
 
On 02/03/2007, at 6:57 AM, George wrote:

I'm guessing this is the right list...

Anyone know how to, at a specific time, make a archive of each folder on a drive? I have a drive that is our main share (no system on it) and I would like to have the system make an archive of each folder at say, each new month. I've poked around but haven't seen anything on how to do this. We have used ACLs in the past but have put off by them recently. System is 10.4.*.

One issue I have is on folders that are set up after I make a script and include each folder name.
My esp is failing me so I don't know what the folder names will be.  ;)

Thanks,
George

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Peter Baxter




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >make archive if each folder on a share (From: George <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.