Re: Renaming issues
Re: Renaming issues
- Subject: Re: Renaming issues
- From: Massimiliano Origgi <email@hidden>
- Date: Wed, 1 Jun 2005 10:12:17 +0200
Il giorno 31/mag/05, alle 16:31, Sean McBride ha scritto:
Doing "mv oldname newname" also has this problem, as well as others,
like
loosing the icon position, etc. Maybe that's how NSFileManager is
doing
it... lame. Do file a bug, destroying user data is bad.
Or, at least, it should be documented...
I've looked around so far, but I haven't found a real answer to this
issue, I was even considering scripting the Finder, but it would be
ugly and slow.
Does anyone have an 'official' solution to this problem?
How about FSRenameUnicode()? Which I found by searching the headers
for
'rename'.
Yep, noticed that, but I haven't tested it yet, I had the feeling it
was just too low level to solve the issue.
Probably a working solution would be to script Finder, get the data
that get lost, rename and restore them.
Massimiliano Origgi
http://www.intuiware.com
Coming Soon...
_______________________________________________
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