how to get rid of hidden files on mac code example
Example: hide hidden files mac
defaults write com.apple.Finder AppleShowAllFiles false
#Change 'false' by 'true' to show hidden files
killall Finder
defaults write com.apple.Finder AppleShowAllFiles false
#Change 'false' by 'true' to show hidden files
killall Finder