I always have hidden files set to 'visible' in Finder, because I'm a developer and I work with a lot of dotfiles.
But even with this setting, Finder won't let me rename a file beginning with a dot. It also won't let me modify these files by pasting over them etc; it gives an error like "The item “.gitignore” can’t be replaced because it’s invisible." Well, it's not invisible, I can see it, and I want to replace it, and it's mine.
I know how to use mv
. I am asking about doing this with Finder.