Mailing Lists: Apple Mailing Lists

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

Backing up only new files



Hello scripters !

I am very proud of my little simple backup script. ;-))
I use it everyday, at work without trouble, but... now , after months of use, I would like to improve it.

Could it be possible to backup ONLY what has been modified or created, not replacing the entire volume ?
How does AS compare files, and decide they are the same (not just the same name) ?

I am wondering how I could do it.
I was thinking of comparing the 2 folders items lists.
It could go like this:

---
set Folder1Contents to list folder BUSource without invisibles
set Folder2Contents to list folder BUDestination without invisibles
repeat with x in Folder1Contents
---

Could it be the right way to seek ?

Thanks in advance or the advices.

Apologies for basic question and poor english.

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.




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.