How to Fix an Invisible File on Mac with Terminal shell commands If you run across an invisible file error such “The file can’t be replaced because it’s invisible”: The problem is that the “invisibility bit” is set to hidden for the affected file. Here’s the simple fix using only your Mac Terminal (unix commands).
Note: For my mac dev box, I load my custom Apache configurations in a standalone file, e.g. /etc/apache2/other/mysites.conf. I tend to leave the default apache files in place for reference. You may prefer to edit or replace the default files instead. I started by reading this set of instructions, but had to workaround a few […]