• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Case sensitive fileName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Case sensitive fileName


  • Subject: Case sensitive fileName
  • From: "gMail.com" <email@hidden>
  • Date: Wed, 17 Mar 2010 14:35:33 +0100
  • Thread-topic: Case sensitive fileName

Hi, I have a file path
    /Folder/filename.txt
The API fileExistsAtPath says that it exists.
Now I need to get its real case sensitive file name, which is indeed e.g.
   "FileName.txt"
How can I get it in a fast way? I thought by its inode, but I can't really
know how to do that.

I know I can iterate along the contents of the parent directory and do a
case insensitive match of each item, but this is too long. I need to check
thousands files. Any fast idea?


Regards
--
Leonardo


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Case sensitive fileName
      • From: Jeremy Pereira <email@hidden>
    • Re: Case sensitive fileName
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: One NSTextView, several model objects - how to synchronise undo manager
  • Next by Date: Re: One NSTextView, several model objects - how to synchronise undo manager
  • Previous by thread: Re: set file name in NSSavePanel
  • Next by thread: Re: Case sensitive fileName
  • Index(es):
    • Date
    • Thread