There is a simpler way.

1. In the Terminal, navigate to your $HOME directory: `cd ~`

2. Remove all the `.DS_Store` files:

        find ~ -name ".DS_Store" -depth -exec rm -f {} \;

3. Relaunch finder going to: Force Quit → Finder

[![Force Quit Applications][1]][1]
[![Force Quit Finder][2]][2]

4. Set your global preferences using ⌘J and press the *Use as default* button.

5. Now, every folder you open or create will have the new settings.


  [1]: https://i.sstatic.net/E3nFdm.png
  [2]: https://i.sstatic.net/JHgx0m.png