This answer from 2011 doesn't work for me:
defaults write com.apple.finder AppleShowAllFiles true
killall Finder
I still can't see .DS_Store
for example, .localized
, ._.
etc
cmd shift . also doesn't work.
I can see other dotfiles after I use cmd shift ., just not ._.*
, .DS_Store
, .localized
so far.
.DS_Store
, you can see in Terminal using e.g.ls -a
however the ones you used to see in Finder and cannot now see them is because Finder is programmed to not show those files files even with it's set to show hidden files. The._*
and._.*
are extended attributes/resource fork files and normally cannot be seen in Terminal or Finder when properly associated/linked to their normal files or if created on a filesystem which does support them and either viewed from Finder or brought back to an HFS+/APFS filesystem. – user3439894 Dec 29 '20 at 23:54