Copying things
Copying things
- Subject: Copying things
- From: "John C. Daub" <email@hidden>
- Date: Sun, 24 Jun 2001 13:46:04 -0500
Hello.
I'm fiddling around with Objective C and Cocoa (I come from the C++/Carbon
world), and I'm curious what the "best" (or maybe that should be "blessed")
way is to copy things: files, folders, whole volumes/disks, etc.. from one
location to another (i.e. not just duplicate in place).
Performance is a bit of an issue, but not the highest priority. However, I
do want to ensure all things about the files are handled correctly, like
resource forks and other DInfo/DXInfo and FInfo/FXInfo. I don't necessarily
wish to care about what the underlying file system is of either the source
or the destination; if it's HFS+ or UFS or WebDAV, whatever... ensure
"correct copying".
Is there a Cocoa mechanism for doing this? or will I need to use Carbon
techniques?
Thanx.
--
John C. Daub }:-)>=
<
mailto:email@hidden> <
http://www.hsoi.com/>
"Learn to be still." -- Don Henley, the Eagles.