Archive: May 2019

Avoid finder hang when connect to smb server in MacOS 10.14

There might be some bugs in the .DS_Store. So first stop the .DS_Store creation in your MacOS:

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Then remove all .DS_Store files on your smb folders:

If you want to see the files you want to remove, try:

find -name ".*" -exec echo '{}' ';'

And do it with:

find -name ".DS_Store" -exec rm '{}' ';'

Also you will find more other hidden files like '._.DS_Store', you should also remove them.