Right first off, if I had a £ for every applescript program I have written I would have £1!
I am trying to write a backup script to back up all data from one folder to another, however I only want it copy the files from the “Master folder” to the “Backup folder” if the files in the backup folder are older or do not exist.
I have so far written something like this;
Tell application "Finder"
Duplicate folder "Master" of disk "OSX" to folder "Backup" of disk "OSX" with replacing
End tell
The problem is with the above bit of code is that it copies the whole folder every time (about 1.4Gb) I use it. If I use the “replacing No” command the application bombs because it finds there are files already there and gives up.
Ideas?
Thanks for taking the time to read this
Dave
Model: G5
Browser: Firefox 1.0.4
Operating System: Mac OS X (10.3.9)