Yes, but I need just the last backup date to understand whether the file has
been modified after the last backup.
If both the source and destination files have been modified after the last
backup date, I ask the user for what to do (replace src or dst).




Da: "Eric E. Dolecki" <edole...@gmail.com>
Data: Tue, 16 Mar 2010 12:24:01 -0400
A: "gMail.com" <mac.iphone....@gmail.com>
Cc: <cocoa-dev@lists.apple.com>
Oggetto: Re: File Backup Date

I have no experience here, but if you are resaving the file, won't the next
time it's backed up add a new backup date to the file? 

On Tue, Mar 16, 2010 at 12:09 PM, gMail.com <mac.iphone....@gmail.com>
wrote:
> Hi,
> as you know fileAttributesAtPath contains the creation date and the
> modification date, but it doesn't contain the backup date (and even the
> lastAccessDate). So, I use FSGetCatalogInfo with kFSCatInfoBackupDate. It
> works well.
> 
> Anyway, I have noticed that if in the Finder (MacOS X 10.6.2) I open a file
> which contains a backup date, then I modify the content and I save it, the
> backup date disappears.
> 
> - Is that correct?
> - As I recall this didn't happen on MacOSs prior to 10.6. Do I recall well?
> - Which other events (on MacOS X, 9, Win, Unix...) could remove the backup
> date from a file?
> 
> Regards
> --
> Leonardo
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> <http://lists.apple.com>
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/edolecki%40gmail.com
> 
> This email sent to edole...@gmail.com



-- 
http://ericd.net
Interactive design and development


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to