DEV Community

Discussion on: Start a new job, automate tools setup.

Collapse
 
gbafana25 profile image
Gareth M.

I have a bash script that saves a list of installed packages, backups up all my dotfiles in the home directory, and uploads it to a private git repo.

Packages

I use apt-mark showmanual, which isn't the best solution since it saves some packages that aren't "user-installed"

Dotfiles

I just have a text file with the name of the file or directory listed on every line, and the script just loops through it to make copies. I also have additional functions to setup my terminal (st) and my window manager (dwm), since those need to be compiled.

Each commit message includes a timestamp.