Sync .DS_Store files
Sync .DS_Store files
- Subject: Sync .DS_Store files
- From: "gMail.com" <email@hidden>
- Date: Thu, 25 Mar 2010 17:42:38 +0100
- Thread-topic: Sync .DS_Store files
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 (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