Re: NSTask and copying lots of small files
Re: NSTask and copying lots of small files
- Subject: Re: NSTask and copying lots of small files
- From: "Sean McBride" <email@hidden>
- Date: Mon, 30 Jan 2006 16:02:41 -0500
- Organization: Rogue Research
On 2006-01-28 19:02, Jonathan Fewtrell said:
>My app copies a directory from CD to the hard drive. The directory
>contains a few hundred small files (say 10k each).
>
>If I use NSFileManager's copyPath method, the process is very slow.
Maybe try the File Manager? 10.4 has the FSCopyObjectSync() API and for
older OSes there is this sample:
<https://developer.apple.com/samplecode/FSCopyObject/FSCopyObject.html>
Maybe check out MoreFiles too:
<http://developer.apple.com/samplecode/MoreFilesX/MoreFilesX.html>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden