Hi,
I am trying to sync a folder containing several files and the hidden file
.DS_Store. I know that this file contains special info about the directory,
so I sync it too. Should I really do that?

The problem is that when I modify a file,
    /Dst/A/B/file.txt
e.g. I replace it with a newer file, the modification date of the following
items gets changed too
    /Dst/A/B/
    /Dst/A/.DS_Store
    /Dst/.DS_Store

So, at the next sync, my app thinks that it has to copy back these files,
which is wrong. What I have found is that the OS updates the .DS_Store files
even after 3 or 4 seconds I have replaced a file within a folder, so there
is no way to e.g. programmatically update the .DS_Store file just after
replacing the file.txt file. 4 seconds later the OS overrides my update.
Any idea?

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

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