| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
set up the recursion depending on the structure of your file system.
Primarily, decide how many folders deep do you want to check for
modified files before you simply copy the whole folder. It will be a
big time saver. Once you have the recursion set up in a repeat loop,
here's the Finder terminology, assuming originalItem and backupItem are
references to the corresponding files.
tell application "Finder"
if ((modification date of item backupItem) < (modification date of
item originalItem)) then
-- originalItem is newer
else
--backupItem presumably has same modification date (or is newer, which
would be wierd)
end if
end tell
Cheers,
Joe
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.