Hacker News new | ask | show | jobs
by jjangsangy 4159 days ago
Cool stuff, lots of really good automation tricks that I haven't seen. I have a similar routine of doing a clean wipe every once in a while and wrote a bunch of scripts to make the process less painful.

One of the more useful ones is a small shell wrapper around homebrew cask that batches installation packages based on category, and one that automates symbolically linking dotfiles using a configuration file.

https://gist.github.com/jjangsangy/c226a9d199fdd9ecba1f

https://gist.github.com/jjangsangy/2951a63fe45d2010bd8d

1 comments

Ok, but doing a clean wipe to just reload a backup from TimeMachine won't do any good since it'll restore all the cruft back, right?

Which leads me to my second point: How would you go finding all those still relevant dotfiles and folders for settings of programs you still want to use and, with wiping, removing all obsolete ones?