As el Capitan was released Asepsis stop working and developers said they won’t “fix” it because it’s impossible in El Capitan.
So how You remove .ds_store files:
sudo find / -name “.DS_Store” -depth -exec rm {} ;
This remove them but as You only open folder, they are created
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Doesn’t work.
So how prevent El Capitan to create this trash files?
I have found something like this:
https://helpx.adobe.com/dreamweaver/kb/remove-ds-store-files-mac.html
create cron and regulary delete it…