Backup color label
Backup color label
- Subject: Backup color label
- From: "gMail.com" <email@hidden>
- Date: Mon, 13 Sep 2010 19:39:53 +0200
- Thread-topic: Backup color label
Hi,
I need to backup only these files changes (not the content):
Label color in the Finder
Filename (uppercase, lowercase)
Permissions
Lock Status
So I check the st_ctime of the files and detect whether to copy or not to
copy their attributes with FSSetCatalogInfo. The problem is that the
destination file st_ctime gets the system date at the moment I call
FSSetCatalogInfo. Instead I need to set it as well as the source file,
otherwise if I run the backup again I soon discover that the destination
file's st_ctime is more recent than the source file's one, while the
attributes are equal. So I wrongly backup forth and back forever.
Any solution?
Thanks
Leo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden