• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask and copying lots of small files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTask and copying lots of small files
      • From: Jonathan Fewtrell <email@hidden>
References: 
 >NSTask and copying lots of small files (From: Jonathan Fewtrell <email@hidden>)

  • Prev by Date: Re: Running COCOA application during startup
  • Next by Date: label URL
  • Previous by thread: Re: NSTask and copying lots of small files
  • Next by thread: Re: NSTask and copying lots of small files
  • Index(es):
    • Date
    • Thread