The Curious Case Of HFS+
Overview
A strange and not very well known property of the HFS+ file system is that it is case preserving but case insensitive. In practice, this means it doesn’t care about the case when you type a command or a file name, but it will remember what you type. Let’s see an example:
$ echo Hello > TeSt
$ cat test
Hello
$ CAT TEST
Hello
$ ls
total 17896
drwxr-xr-x 6 liv staff 204 16 Mar 18:30 .
drwxr-xr-x 20 liv staff 680 16 Mar 00:01 ..
-rw-r--r-- 1 liv staff 6 16 Mar 18:30 TeSt