FROM : Chris Parker
DATE : Sun Feb 17 22:02:02 2008
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.
DATE : Sun Feb 17 22:02:02 2008
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.
| Related mails | Author | Date |
|---|---|---|
| SD | Feb 16, 09:47 | |
| Peter Maurer | Feb 16, 10:01 | |
| Chris Parker | Feb 17, 22:02 |






Cocoa mail archive

