• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Backing up only new files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backing up only new files


  • Subject: Re: Backing up only new files
  • From: Bernard Azancot <email@hidden>
  • Date: Tue, 27 Apr 2004 19:37:35 +0200

Le 27 avr. 04, ` 07:00, email@hidden a icrit :

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


Thank you very much, Joe.

I see what you mean, but...could you give me a simple example of how to set up the recurssion in a repeat loop.

Evil is in details.

Yours
Bernard
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Backing up only new files
      • From: Graff <email@hidden>
  • Prev by Date: busy status
  • Next by Date: Re: Backing up only new files
  • Previous by thread: Re: Backing up only new files
  • Next by thread: Re: Backing up only new files
  • Index(es):
    • Date
    • Thread