6 ms·
I definitely prefer case-senstive. I didn't realize that MacOS had switched to case-INsensitve at some point. So the following drove me crazy for several minute
by bxparks 6y ago
I definitely prefer case-senstive. I didn't realize that MacOS had switched to case-INsensitve at some point. So the following drove me crazy for several minutes:
$ ls -l /usr/local/bin/virtualbox
-rwxr-xr-x 1 root wheel 77 Oct 2 2015 /usr/local/bin/virtualbox*
$ ls /usr/local/bin | grep virtualbox
<nothing, WTF??>
$ ls /usr/local/bin | grep -i virtualbox
VirtualBox*
My coworker uses MacOS, I use Linux. Several times, changing the case of a directory or file caused the MacOS to mess up the local git repo so badly that we had to blow it away and refetch from remote.
At least the Mac Finder allows changing the case of a filename. Windows File Explorer simply refuses. I change the case of the file name, add a random character, save the file name. Then edit the file name again, remove the random character, save the file name. It's needlessly annoying.
I think case-INsensitive makes more sense for software developers, since there are many instances where things like "string.h" is not the same as "String.h". But for normal people, case-INsensitve may be more useful. However, even for normal users, I think there are situations where "bob.html" (a noun) is different from "Bob.html" (a person).
- muststopmyths 6y ago>At least the Mac Finder allows changing the case of a filename. Windows File Explorer simply refuses Just tested on Windows 10 and this is definitely not true. I could have sworn you could always do it, but my memory of Windows < 10 is foggy. And you can also do the renaming from any console app (cmd, powershell, etc), FYI. NTFS is case-preserving, but case-insensitive. That, IMO is a good balance. When they were first making NT with the posix subsystem, I suppose they found that the number of cases where two files that only differed in case lived in the same directory were small enough to not matter. I personally don't think case-sensitivity in file names adds anything useful.
- tiraniddo 6y agoIf you enabled the posix subsystem NTFS became case sensitive as well, although most API passed a flag to disable that for Win32 file calls. It’s interesting that Microsoft effectively added the reverse feature to NTFS [1] to support per-directory case sensitive files to be more compatible with Linux. [1] https://www.tiraniddo.dev/2019/02/ntfs-case-sensitivity-on-windows.html https://www.tiraniddo.dev/2019/02/ntfs-case-sensitivity-on-w...
- bxparks 6y agoI swear that my Windows 10 File Explorer had this problem. Here is a user complaint about this problem from Nov 2019: https://answers.microsoft.com/en-us/windows/forum/all/cant-rename-case-in-file-explorer/cc4f69e9-cc3b-44c1-b81c-773470d36b18 https://answers.microsoft.com/en-us/windows/forum/all/cant-r... Here's another post from May 2018, explicitly mentioning Windows 10: https://answers.microsoft.com/en-us/windows/forum/all/why-cannot-change-filename-case/2f5f4e6d-9721-44f4-96ec-882fe66d8aa0 https://answers.microsoft.com/en-us/windows/forum/all/why-ca... But I checked again on my own Windows 10 machine (Windows 10 Pro, Version 2004, build 19041.450) and holy shit, it now works. It must have been fixed in a recent Window 10 update.
- zerocrates 6y agoMac has been (at least by default) case-insensitive for a very long time, back to the original HFS at least, and probably its predecessor MFS too, though I'm not sure on that one.