I don’t like clutter. In fact, I am very picky about what I install on my computer which is one reason I love virtual machines to experiment with new technologies.
While adding a linter to an old project, I wrote the following bash script to convert 4-space indentations to 2-space indentations. This example recursively looks for *.js files starting at the script’s location. Of course, it can be used for any type of file though by simply changing the extension.
I have written before about having to work in Windows 7 with Docker which only runs natively on Linux, macOS or Windows 10.