July 25, 20196 yr How do I delete them all at once? Are they of any use? Using Fixing common problems show the file in "/mnt/user/._.DS_Store disk1 disk2 disk3 disk4 disk5 disk6 disk7 disk8 disk9 cache" and a lot more other folders, and disks
July 25, 20196 yr One option would be to setup a scheduled user script to delete this files. #!/bin/bash echo "Searching for (and deleting) .DS_Store Files" echo "This may take a awhile" find /mnt/user -maxdepth 9999 -noleaf -type f -name ".DS_Store" -exec rm "{}" \;
July 25, 20196 yr That file is a proprietary Mac/OSX system file that holds attributes / meta-data about the folder it resides in. I don't know if it's possible to stop apple devices to create these files.
July 25, 20196 yr In general it's a small hidden file. You shouldn't see it either on Windows or MacOS if you doesn't have "show hidden files" enabled. Maybe there is a option on MacOS to prevent it to create these files. What are the downsides of this? I don't know. I'am not using that OS 🤨 Edited July 25, 20196 yr by bastl
July 25, 20196 yr I believe you can also still stop your Mac from creating these files. https://www.google.com/amp/s/www.techrepublic.com/google-amp/article/how-to-disable-the-creation-of-dsstore-files-for-mac-users-folders/ I don’t use this, so not sure if it still works with recent macOS’s.
July 25, 20196 yr Disable the creation of .DS_store on network drives (Client side) defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true Log out/in to take effect Disable the creation of all ._ files (Server side) Stop the array Go to Smb settings & add the following to the "Samba extra configuration" field veto files =/._*/.DS_store/ Additional files can be vetoed if needed, just remember a trailing "/" Edited July 25, 20196 yr by unRate
July 26, 20196 yr Here's what I use: veto files = /._*/.DS_Store/.AppleDouble/.Trashes/.TemporaryItems/.Spotlight-V100/ delete veto files = yes
February 28, 20233 yr On 7/26/2019 at 3:38 PM, SnickySnacks said: Here's what I use: veto files = /._*/.DS_Store/.AppleDouble/.Trashes/.TemporaryItems/.Spotlight-V100/ delete veto files = yes Sorry to bring up an old thread, but will this effect any Timemachine stuff?
February 28, 20233 yr 1 hour ago, Maximus01701 said: Sorry to bring up an old thread, but will this effect any Timemachine stuff? Shouldn’t. The ds_store files are used to tell the finder what you have set for options in the window so that if you close it your current settings will be used next time you open it.
July 5, 20233 yr On 7/25/2019 at 10:16 PM, nuhll said: Hey, jsut enable "HIDE .DOT files" in SMB Settings of unraid No need to delete. did this every actually work for these particular files?
February 6, 20251 yr On 7/25/2019 at 2:16 PM, NewDisplayName said: Hey, jsut enable "HIDE .DOT files" in SMB Settings of unraid No need to delete. THX
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.