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 (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