I can't create two files with same name with different cases in a folder.
as an example if file names are like below.
test.java
and Test.java
.
warning message appear that saying
The name “Test” with extension “.java” is already taken. Please choose a different name.
in Linux we can do this. how can I do this in mac osx?
Best Answer
You generally can't. Mac OS X is typically case-insensitive.
It's actually a per-partition setting, AFAIK set when formatting the partition. The default is case-insensitive, and case-sensitive is known for breaking third-party apps. If you decide you need it, I suggest creating a case-sensitive disk image to store those files.
(You might also like to know about another site in the Stack Exchange network, Ask Different—presuming you haven't already heard of them.)