Skip to content

Instantly share code, notes, and snippets.

@tyrell
Last active April 18, 2021 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyrell/f3d706d1f90d2b0dcf266aef05c4fa06 to your computer and use it in GitHub Desktop.
Save tyrell/f3d706d1f90d2b0dcf266aef05c4fa06 to your computer and use it in GitHub Desktop.
Tips to make Samba netowrk shares work better

Speed up browsing on network shares

To speed up SMB file browsing, 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:

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Then log out of your macOS account and log back in.

To reenable sorting, use this command:

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool FALSE

Source: https://support.apple.com/en-us/HT208209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment