Clipped from[macOs - How to stop creating .DS_Store on Mac? - Stack Overflow](https://stackoverflow.com/questions/18015978/how-to-stop-creating-ds-store-on-mac)at 2023-11-13.
you can prevent macOS from reading .DS_Store files on SMB shares. This makes the Finder use only basic information to immediately display each folder's contents in alphanumeric order. Use this Terminal command: