FSFileOperation

Last Revision:
Version 1.0, 2005-06-06
This sample shows how to use the FSFileOperation API which supports copying and moving filesystem objects.
Build Requirements:
Runtime Requirements:
Mac OS X 10.4

This sample shows how to copy and move both files and folders. It shows both the synchronous and asynchronous (using CFRunLoop) use of the FSFileOperation APIs. In addition, it shows path and FSRef variants of the API and how to get status out of the callbacks. The API is conceptually similar to the FSVolumeOperation APIs introduced in Mac OS X 10.2.