diff --git a/Technik/DontWriteDsStoreFiles.md b/Technik/DontWriteDsStoreFiles.md index ce17132..afd700f 100644 --- a/Technik/DontWriteDsStoreFiles.md +++ b/Technik/DontWriteDsStoreFiles.md @@ -1,15 +1,18 @@ -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: +### 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: ```bash -defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE` +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: +```bash +defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool FALSE``` -`defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool FALSE` -I + +#mac #cmd #smb \ No newline at end of file