type f -name '._*' -printīut the more important part is how to delete them.
The input below searches for files starting with '. So here is how we can remove all those files starting with '. What about opening the directory using an application which allows you to see all the hidden files like ' Atom' and delete them this way, well first if they are in subdirectories this could be time consuming plus another problem happens - macOS doesn't recognize they are in the trash so you still can't delete them!Īs per usual with most of these issues it can be solved completely 100% in the terminal. See how to show hidden files in macOS with terminal or quick keys. So how can we remove all these files, well my first thought was to show all the hidden files on macOS using the terminal but guess what they still didn't show. I have always had an issue when copying files from macOS to a windows formatted drive, that I would suddenly find loads of files with the same name but hidden starting with '.