How to disable .DS_store on Macos El Capitan, Sierra, High Sierra

MacOSXOSX

Asepsis was a tool developed especially to remove .DS_store but as of the introduction of SIP in OSX this has become more problematic.

Thankfully, Mike Greiling has written up a nice guide with step-by-step instructions on how to continue to use Asepsis without compromising security.

IMPORTANT: If you are using XtraFinder at Step #4 you will want to use the following command at Step #4 in order to ensure XtraFinder continues to work as expected.

csrutil enable --without debug