Hides file or folder on MacOS
1. Open terminal from Application folder
2. chflags hidden file_or_folder_path #maybe drag and drop icon from Finder
flags: hidden / nohidden
3. To display Hidden files or folders, press keys combination command + shift + .
reference
https://www.howtogeek.com/211496/how-to-hide-files-and-view-hidden-files-on-mac-os-x/