Re: changing a files name?
Re: changing a files name?
- Subject: Re: changing a files name?
- From: Sherm Pendley <email@hidden>
- Date: Mon, 23 Feb 2004 22:20:25 -0500
On Feb 23, 2004, at 9:53 PM, email@hidden wrote:
I've been looking and haven't been able to find the exact way of doing
this? Do i use NSFileManager or something else i would think fm but i
haven't found anything that looks like it?
It looks like NSFileManager's -movePath:toPath:handler: method is what
you're looking for. The description of that method doesn't really come
right out and say it, but the 'mv' command is used in UNIX for both
moving and renaming files, and it looks like NSFileManager adopted that
convention.
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.