Published: Oct. 30, 2020, 7 p.m.
b'
Remember, I\'m doing a clean install. To speed up the setup, I want an inventory of all my installed apps and configurations.
\\n- If you\'ve installed `mas` using `brew`, you have a command-line interface to your App store installs. And `brew bundle dump \\u2014all \\u2014description \\u2014force` will write a list of everything you\'ve installed from brew and the app store to `brewfile` in your home directory. Save that!
\\n- Running brew bundle install will reinstall everything (you might want to edit the list first to avoid reinstalling stuff you don\'t want)
\\n- But what about apps you installed by hand. There\'s no easy way to reinstall them, but at least you can get a complete list of everything you\'ve installed with a simple terminal command
\\n- `ls -la /Applications/ > Installed-Apps.txt`
\\n- Now that you have a list of installed apps you might want to save configuration files. You\'ll have to do that manually for GUI apps, but in most cases, they store these files in Library/ApplicationSupport - remember there are two Library folders, the system-wide folder in the root directory, and the Library in your home directory. Make a copy of both and store them on an external drive.
\\n- If you\'ve moved your Home directory to a separate partition or drive your ~/Library will be preserved. So no need to worry about that. Just make a copy of the system-wide ApplicationSupport folder.
\\n- CLI programs usually store their configurations as hidden files in your Home folder. These files usually begin with a dot. You can see them with the following command:
\\n- `ls -ld *.`
\\n- As you can see many of my dotfiles are really aliases to files stored in a folder called Sync. This is where Syncthing comes in handy
\\n- Dotfiles often contain private information, like PGP private-keys and mail passwords that you wouldn\'t want to store on a public server. Instead I sync them to a shared folder available on all my systems. That way I always have access to dotfiles I want to use on all my machines, but I keep them away from prying eyes. I\'ve written a little shell script to automatically alias them when setting up a new machine. Remember aliases?
\\n
Leo Laporte gives you helpful tips to get the most from your Mac every week on Hands-On Mac!
\\n
Host: Leo Laporte
\\n
Download or subscribe to this show at https://twit.tv/shows/hands-on-mac
\\n
Discuss episodes in the TWiT Community.
\\n
Sponsor:
'