Changing the case of a filename?
Changing the case of a filename?
- Subject: Changing the case of a filename?
- From: Steve Gehrman <email@hidden>
- Date: Mon, 13 Aug 2001 23:43:00 -0700
What is the proper way of changing the case of a file's name? The
movePath routine does nothing!
BOOL result = [[NSFileManager defaultManager]
movePath:@"/Users/joe/Hello.c" toPath:@"/Users/joe/hello.c" handler:nil];
I could do some lame hack like renaming the file to a temporary name and
then back to hello.c, but that seems kind of stupid.
anyone have an idea? Is there a posix routine that may work?
steve