Re: NSFileManager
Re: NSFileManager
- Subject: Re: NSFileManager
- From: Chris Parker <email@hidden>
- Date: Sun, 17 Feb 2008 13:02:02 -0800
On 16 Feb 2008, at 1:01 AM, Peter Maurer wrote:
Can anyone tell me if the NSFileManager methods
movePath:toPath:handler
and
copyPath:toPath:handler:
Are safe to use, ie: do they copy all the information that Apple's
file systems have (ie: including things like resource forks, etc).
Last time I checked, comments weren't preserved -- you'll have to
transfer those by hand. Resource forks are fine, as far as I remember.
Almost everything should be preserved these days, including comments
if you're copying files on Leopard with either
copyPath:toPath:handler: or the newer copyItemAtPath:toPath:error:.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Inc.
_______________________________________________
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