jang430 Posted July 25, 2019 Share Posted July 25, 2019 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 Quote Link to comment
bastl Posted July 25, 2019 Share Posted July 25, 2019 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 "{}" \; Quote Link to comment
jang430 Posted July 25, 2019 Author Share Posted July 25, 2019 Can't this be prevented from being generated in the future? Quote Link to comment
bastl Posted July 25, 2019 Share Posted July 25, 2019 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. Quote Link to comment
jang430 Posted July 25, 2019 Author Share Posted July 25, 2019 You mean it's generated since I use a mac to browse folder contents? Quote Link to comment
jang430 Posted July 25, 2019 Author Share Posted July 25, 2019 In that case, thanks for the info. I guess I'll have to leave with it. Quote Link to comment
bastl Posted July 25, 2019 Share Posted July 25, 2019 (edited) 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, 2019 by bastl Quote Link to comment
NewDisplayName Posted July 25, 2019 Share Posted July 25, 2019 Hey, jsut enable "HIDE .DOT files" in SMB Settings of unraid No need to delete. Quote Link to comment
wgstarks Posted July 25, 2019 Share Posted July 25, 2019 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. Quote Link to comment
unRate Posted July 25, 2019 Share Posted July 25, 2019 (edited) 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, 2019 by unRate 1 Quote Link to comment
SnickySnacks Posted July 26, 2019 Share Posted July 26, 2019 Here's what I use: veto files = /._*/.DS_Store/.AppleDouble/.Trashes/.TemporaryItems/.Spotlight-V100/ delete veto files = yes 1 Quote Link to comment
Maximus01701 Posted February 28, 2023 Share Posted February 28, 2023 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? Quote Link to comment
wgstarks Posted February 28, 2023 Share Posted February 28, 2023 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. Quote Link to comment
WalkerD01 Posted July 5, 2023 Share Posted July 5, 2023 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? Quote Link to comment
Recommended Posts
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.