mv: case sensitivity
β’ 101 words β’ 1 min β’ updated
From the series: why you should always use a case sensitive file system (like most of Linux).
By default, to my despair, macOS uses a case-insensitive file system(1, 2).
We can pretend this is not an issue, and simply brush it under the carpet during most sunny days.
Nonetheless, at some point the dust must settle.
Problem statement: rename justfile to Justfile.
Too easy? On Linux, yes. On macOS:
shell
% mv justfile Justfile
mv: 'justfile' and 'Justfile' are the same fileFine. Let’s do it the ‘‘‘hard’’’ way:
shell
% mv justfile{,.bkp}
% mv justfile.bkp JustfileAnd life goes on.