I have been playing around with that - get the attributes get the icon composite the overlay set the icon set the attributes
When I print out the attributes before/after they match - now this only works for files that you have access to (it failed for a few files owned by root). I am not sure how this affects MD5 checksum, I am going to look into that next... On Thu, Aug 2, 2012 at 9:21 PM, Alfian Busyro <alfian.bus...@kddi-web.com>wrote: > Which you guys mean I have to create the overlay to an Image it self then > stick it to a file icon ? > I'd try this before but nothing was changed. maybe I'll have try this once > again. > > And for file attributes, can we use setAttributes:ofItemAtPath:**error: > from NSFileManager ? > because there is NSFileModificationDate attributes for in this function. > > Regards, > Alfian > > On 12/08/03 5:47, Charles Srstka wrote: > >> On Aug 2, 2012, at 3:41 PM, KappA <rejek...@gmail.com> wrote: >> >> I believe setIcon updates the file modification date... (please check as >>> I >>> can't remember for sure)... which might go against what a file tracking >>> system might be trying to do. >>> >>> i.e. will give false file modification updates because of setting the >>> updated icons. >>> >>> If there is a way to do that without updating the file attributes, it >>> would >>> work perfectly... >>> >> In addition to this, it will hose any custom icons that the user might >> have set on the files. >> >> Charles >> >> ______________________________**_________________ >> >> 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: >> https://lists.apple.com/**mailman/options/cocoa-dev/** >> alfian.busyro%40kddi-web.com<https://lists.apple.com/mailman/options/cocoa-dev/alfian.busyro%40kddi-web.com> >> >> This email sent to alfian.bus...@kddi-web.com >> > > ______________________________**_________________ > > 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: > https://lists.apple.com/**mailman/options/cocoa-dev/**rejekted%40gmail.com<https://lists.apple.com/mailman/options/cocoa-dev/rejekted%40gmail.com> > > This email sent to rejek...@gmail.com > _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com