Copy Dots

Published: 08.15.2020

Every once in a while I get that itch to automate something that I find myself repeating frequently over the course of my new development; which is starting new open source projects. (just like the one I'm about to tell you about! 😎)

Whenever I start a new (JavaScript) project, there's usually a common set of tools that I bring along for the ride with me each time. Awesome tools ESLint, Mocha, and more! Often times I find myself just copy / pasting the dot and config files from one repository directory to another one. Essentially just doing this every time:

$ cp -r /path/to/some/project .

But this doesn't account for hidden / dot files which are quite predominant in software projects. (you can probably tell where this is all leading...)

Well, now I can do that same copy command and even filter it, just by using my new project copy-dots!

Demo gif of copy-dots

Check out the repo and give it a try, and please let me know what you think! ✌️

© Owen Buckley / thegreenhouse.io