I've found this question and answer about renaming "Downloads": How do I rename the Downloads folder (in Lion)? but it seems concerned more with how things look the the Finder. I do not care how things look to the Finder, I just think directories with capital letters annoying in ls output.
This is a case insensitive filesystem, why can't I use lower case names? Something is stopping me when I try to rename or delete, eg, "Downloads".
$ mv Downloads downloads
mv: rename Downloads to downloads: Permission denied
$ rmdir Downloads
rmdir: Downloads: Permission denied
$ mv Downloads foobar
mv: rename Downloads to foobar: Permission denied
I have not escalated to sudo because I suspect the above is a hint that things will break unless I do it the right way. Linux gives me the XDG user directories configuration as the "right way" to rename these "standard" (but kinda useless to me) directories. What's the Mac version of this?
This is largely about esthetics and I don't want to fix it with symlinks. And I don't really care if GUI stuff sees it as "downloads" or "Downloads" (which is close to that previous question) I want the directories renamed to lower case as seen by the Unix side of the interface: mv down*/*pdf project/docs/ type stuff should work, and cd; mv */recent-file some/where/else/ should not expand to cd; mv Downloads/recent-file downloads/recent-file some/where/else/ which is what I'd get with a symlink.
This is 10.15.7 ("Catalina")
cd downloadsand it goes into theDownloadsfolder, since APFS is case-insensitive by default. Is this good enough? I know your needs are personal preference of course just thought I'd offer this up. – Ezekiel Nov 13 '20 at 19:17cd down*fails, because the shell can't find anything starting withdownnor an exactdown*. – Cupcake Protocol Nov 13 '20 at 19:23cd down*(sincecd downloadsworks, it stands to reason there's a way to achieve this). Alternatively, you could investigate something with symbolic links of some fashion, but I'm unsure if that would even work. – Ezekiel Nov 13 '20 at 22:01